[INFO] cloning repository https://github.com/emsurezhang/LLM-Gateway
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emsurezhang/LLM-Gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femsurezhang%2FLLM-Gateway", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femsurezhang%2FLLM-Gateway'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 59f7030b83d01dcb08b634a597ccddad16a669cc
[INFO] testing emsurezhang/LLM-Gateway against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femsurezhang%2FLLM-Gateway" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/emsurezhang/LLM-Gateway
[INFO] finished tweaking git repo https://github.com/emsurezhang/LLM-Gateway
[INFO] tweaked toml for git repo https://github.com/emsurezhang/LLM-Gateway written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/emsurezhang/LLM-Gateway on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/emsurezhang/LLM-Gateway already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.100
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.100
[INFO] [stderr]   Downloaded unicode-ident v1.0.18
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.100
[INFO] [stderr]   Downloaded uuid v1.18.1
[INFO] [stderr]   Downloaded unicase v2.8.1
[INFO] [stderr]   Downloaded iana-time-zone-haiku v0.1.2
[INFO] [stderr]   Downloaded adler2 v2.0.1
[INFO] [stderr]   Downloaded http-body v1.0.1
[INFO] [stderr]   Downloaded futures-core v0.3.31
[INFO] [stderr]   Downloaded mime v0.3.17
[INFO] [stderr]   Downloaded atoi v2.0.0
[INFO] [stderr]   Downloaded parking v2.2.1
[INFO] [stderr]   Downloaded event-listener-strategy v0.5.4
[INFO] [stderr]   Downloaded async-task v4.7.1
[INFO] [stderr]   Downloaded wasite v0.1.0
[INFO] [stderr]   Downloaded whoami v1.6.1
[INFO] [stderr]   Downloaded serde_urlencoded v0.7.1
[INFO] [stderr]   Downloaded rustc_version v0.4.1
[INFO] [stderr]   Downloaded windows-threading v0.1.0
[INFO] [stderr]   Downloaded generator v0.8.7
[INFO] [stderr]   Downloaded pkcs8 v0.10.2
[INFO] [stderr]   Downloaded wasm-streams v0.4.2
[INFO] [stderr]   Downloaded num-integer v0.1.46
[INFO] [stderr]   Downloaded tagptr v0.2.0
[INFO] [stderr]   Downloaded http-body v0.4.6
[INFO] [stderr]   Downloaded rustix v0.37.28
[INFO] [stderr]   Downloaded inout v0.1.4
[INFO] [stderr]   Downloaded aead v0.5.2
[INFO] [stderr]   Downloaded cipher v0.4.4
[INFO] [stderr]   Downloaded anyhow v1.0.99
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.48.5
[INFO] [stderr]   Downloaded ctr v0.9.2
[INFO] [stderr]   Downloaded polyval v0.6.2
[INFO] [stderr]   Downloaded sqlx-postgres v0.7.4
[INFO] [stderr]   Downloaded flume v0.11.1
[INFO] [stderr]   Downloaded ghash v0.5.1
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.48.5
[INFO] [stderr]   Downloaded base64 v0.21.7
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.48.5
[INFO] [stderr]   Downloaded der v0.7.10
[INFO] [stderr]   Downloaded rsa v0.9.8
[INFO] [stderr]   Downloaded unicode-normalization v0.1.24
[INFO] [stderr]   Downloaded hkdf v0.12.4
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.48.5
[INFO] [stderr]   Downloaded linux-raw-sys v0.3.8
[INFO] [stderr]   Downloaded loom v0.7.2
[INFO] [stderr]   Downloaded windows_i686_gnu v0.48.5
[INFO] [stderr]   Downloaded windows_i686_msvc v0.48.5
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.48.5
[INFO] [stderr]   Downloaded portable-atomic v1.11.1
[INFO] [stderr]   Downloaded windows_i686_gnu v0.53.0
[INFO] [stderr]   Downloaded unicode-segmentation v1.12.0
[INFO] [stderr]   Downloaded reqwest v0.11.27
[INFO] [stderr]   Downloaded syn v1.0.109
[INFO] [stderr]   Downloaded num-bigint-dig v0.8.4
[INFO] [stderr]   Downloaded moka v0.12.10
[INFO] [stderr]   Downloaded h2 v0.3.27
[INFO] [stderr]   Downloaded libsqlite3-sys v0.27.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.53.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.53.0
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.53.0
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.53.0
[INFO] [stderr]   Downloaded windows_i686_gnullvm v0.53.0
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.53.0
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.53.0
[INFO] [stderr]   Downloaded async-trait v0.1.89
[INFO] [stderr]   Downloaded axum-core v0.4.5
[INFO] [stderr]   Downloaded encoding_rs v0.8.35
[INFO] [stderr]   Downloaded http v0.2.12
[INFO] [stderr]   Downloaded hyper v0.14.32
[INFO] [stderr]   Downloaded hyper v1.7.0
[INFO] [stderr]   Downloaded matchit v0.7.3
[INFO] [stderr]   Downloaded regex v1.11.2
[INFO] [stderr]   Downloaded serde_path_to_error v0.1.17
[INFO] [stderr]   Downloaded colored v3.0.0
[INFO] [stderr]   Downloaded h2 v0.4.12
[INFO] [stderr]   Downloaded linux-raw-sys v0.9.4
[INFO] [stderr]   Downloaded hyper-util v0.1.16
[INFO] [stderr]   Downloaded windows-sys v0.60.2
[INFO] [stderr]   Downloaded mockito v1.7.0
[INFO] [stderr]   Downloaded opaque-debug v0.3.1
[INFO] [stderr]   Downloaded universal-hash v0.5.1
[INFO] [stderr]   Downloaded sync_wrapper v1.0.2
[INFO] [stderr]   Downloaded windows-sys v0.48.0
[INFO] [stderr]   Downloaded bytes v0.6.0
[INFO] [stderr]   Downloaded futures v0.3.31
[INFO] [stderr]   Downloaded assert-json-diff v2.0.2
[INFO] [stderr]   Downloaded similar v2.7.0
[INFO] [stderr]   Downloaded axum v0.7.9
[INFO] [stderr]   Downloaded windows-collections v0.2.0
[INFO] [stderr]   Downloaded rustix v1.0.8
[INFO] [stderr]   Downloaded hyper-tls v0.5.0
[INFO] [stderr]   Downloaded ipnet v2.11.0
[INFO] [stderr]   Downloaded windows-sys v0.59.0
[INFO] [stderr]   Downloaded windows-sys v0.52.0
[INFO] [stderr]   Downloaded httparse v1.10.1
[INFO] [stderr]   Downloaded try-lock v0.2.5
[INFO] [stderr]   Downloaded want v0.3.1
[INFO] [stderr]   Downloaded winreg v0.50.0
[INFO] [stderr]   Downloaded heck v0.4.1
[INFO] [stderr]   Downloaded sqlx-macros-core v0.7.4
[INFO] [stderr]   Downloaded sqlx-macros v0.7.4
[INFO] [stderr]   Downloaded num-iter v0.1.45
[INFO] [stderr]   Downloaded pkcs1 v0.7.5
[INFO] [stderr]   Downloaded signature v2.2.0
[INFO] [stderr]   Downloaded base64ct v1.8.0
[INFO] [stderr]   Downloaded openssl v0.10.73
[INFO] [stderr]   Downloaded tower v0.5.2
[INFO] [stderr]   Downloaded vcpkg v0.2.15
[INFO] [stderr]   Downloaded aes-gcm v0.10.3
[INFO] [stderr]   Downloaded web-sys v0.3.77
[INFO] [stderr]   Downloaded tokio v1.47.1
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.52.6
[INFO] [stderr]   Downloaded windows_i686_gnu v0.52.6
[INFO] [stderr]   Downloaded windows_i686_msvc v0.52.6
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.52.6
[INFO] [stderr]   Downloaded libc v0.2.175
[INFO] [stderr]   Downloaded semver v1.0.26
[INFO] [stderr]   Downloaded spki v0.7.3
[INFO] [stderr]   Downloaded zeroize v1.8.1
[INFO] [stderr]   Downloaded sqlx-mysql v0.7.4
[INFO] [stderr]   Downloaded dotenvy v0.15.7
[INFO] [stderr]   Downloaded hmac v0.12.1
[INFO] [stderr]   Downloaded md-5 v0.10.6
[INFO] [stderr]   Downloaded unicode-bidi v0.3.18
[INFO] [stderr]   Downloaded tinyvec v1.10.0
[INFO] [stderr]   Downloaded unicode-properties v0.1.3
[INFO] [stderr]   Downloaded stringprep v0.1.5
[INFO] [stderr]   Downloaded icu_properties_data v2.0.1
[INFO] [stderr]   Downloaded idna v1.1.0
[INFO] [stderr]   Downloaded sqlx v0.7.4
[INFO] [stderr]   Downloaded futures-util v0.3.31
[INFO] [stderr]   Downloaded gimli v0.31.1
[INFO] [stderr]   Downloaded aes v0.8.4
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.52.6
[INFO] [stderr]   Downloaded windows-future v0.2.1
[INFO] [stderr]   Downloaded windows-numerics v0.2.0
[INFO] [stderr]   Downloaded scoped-tls v1.0.1
[INFO] [stderr]   Downloaded sha1 v0.10.6
[INFO] [stderr]   Downloaded etcetera v0.8.0
[INFO] [stderr]   Downloaded home v0.5.11
[INFO] [stderr]   Downloaded tinyvec_macros v0.1.1
[INFO] [stderr]   Downloaded libredox v0.1.9
[INFO] [stderr]   Downloaded hashbrown v0.14.5
[INFO] [stderr]   Downloaded minimal-lexical v0.2.1
[INFO] [stderr]   Downloaded nom v7.1.3
[INFO] [stderr]   Downloaded sqlx-core v0.7.4
[INFO] [stderr]   Downloaded zerovec v0.11.4
[INFO] [stderr]   Downloaded tower v0.4.13
[INFO] [stderr]   Downloaded rustls-pemfile v1.0.4
[INFO] [stderr]   Downloaded sync_wrapper v0.1.2
[INFO] [stderr]   Downloaded system-configuration-sys v0.5.0
[INFO] [stderr]   Downloaded system-configuration v0.5.1
[INFO] [stderr]   Downloaded tokio-native-tls v0.3.1
[INFO] [stderr]   Downloaded futures-executor v0.3.31
[INFO] [stderr]   Downloaded async-lock v2.8.0
[INFO] [stderr]   Downloaded instant v0.1.13
[INFO] [stderr]   Downloaded fastrand v1.9.0
[INFO] [stderr]   Downloaded futures-lite v1.13.0
[INFO] [stderr]   Downloaded polling v2.8.0
[INFO] [stderr]   Downloaded bitflags v1.3.2
[INFO] [stderr]   Downloaded hermit-abi v0.3.9
[INFO] [stderr]   Downloaded io-lifetimes v1.0.11
[INFO] [stderr]   Downloaded windows-targets v0.48.5
[INFO] [stderr]   Downloaded allocator-api2 v0.2.21
[INFO] [stderr]   Downloaded indexmap v2.11.0
[INFO] [stderr]   Downloaded security-framework v2.11.1
[INFO] [stderr]   Downloaded typenum v1.18.0
[INFO] [stderr]   Downloaded unicode_categories v0.1.1
[INFO] [stderr]   Downloaded icu_normalizer_data v2.0.0
[INFO] [stderr]   Downloaded icu_collections v2.0.0
[INFO] [stderr]   Downloaded icu_locale_core v2.0.0
[INFO] [stderr]   Downloaded icu_provider v2.0.0
[INFO] [stderr]   Downloaded zerotrie v0.2.2
[INFO] [stderr]   Downloaded url v2.5.7
[INFO] [stderr]   Downloaded regex-automata v0.4.10
[INFO] [stderr]   Downloaded pem-rfc7468 v0.7.0
[INFO] [stderr]   Downloaded async-io v2.5.0
[INFO] [stderr]   Downloaded concurrent-queue v2.5.0
[INFO] [stderr]   Downloaded ahash v0.8.12
[INFO] [stderr]   Downloaded openssl-sys v0.9.109
[INFO] [stderr]   Downloaded native-tls v0.2.14
[INFO] [stderr]   Downloaded const-oid v0.9.6
[INFO] [stderr]   Downloaded litemap v0.8.0
[INFO] [stderr]   Downloaded icu_properties v2.0.1
[INFO] [stderr]   Downloaded sqlx-sqlite v0.7.4
[INFO] [stderr]   Downloaded tokio-stream v0.1.17
[INFO] [stderr]   Downloaded http v1.3.1
[INFO] [stderr]   Downloaded windows_aarch64_gnullvm v0.52.6
[INFO] [stderr]   Downloaded windows_i686_gnullvm v0.52.6
[INFO] [stderr]   Downloaded windows_x86_64_gnullvm v0.52.6
[INFO] [stderr]   Downloaded socket2 v0.4.10
[INFO] [stderr]   Downloaded async-executor v1.13.3
[INFO] [stderr]   Downloaded async-std v1.13.2
[INFO] [stderr]   Downloaded schannel v0.1.27
[INFO] [stderr]   Downloaded tempfile v3.21.0
[INFO] [stderr]   Downloaded paste v1.0.15
[INFO] [stderr]   Downloaded getrandom v0.2.16
[INFO] [stderr]   Downloaded sqlformat v0.2.6
[INFO] [stderr]   Downloaded tinystr v0.8.1
[INFO] [stderr]   Downloaded writeable v0.6.1
[INFO] [stderr]   Downloaded displaydoc v0.2.5
[INFO] [stderr]   Downloaded yoke v0.8.0
[INFO] [stderr]   Downloaded synstructure v0.13.2
[INFO] [stderr]   Downloaded zerovec-derive v0.11.1
[INFO] [stderr]   Downloaded urlencoding v2.1.3
[INFO] [stderr]   Downloaded futures-channel v0.3.31
[INFO] [stderr]   Downloaded object v0.36.7
[INFO] [stderr]   Downloaded regex-syntax v0.8.6
[INFO] [stderr]   Downloaded syn v2.0.106
[INFO] [stderr]   Downloaded waker-fn v1.2.0
[INFO] [stderr]   Downloaded async-io v1.13.0
[INFO] [stderr]   Downloaded async-channel v1.9.0
[INFO] [stderr]   Downloaded async-channel v2.5.0
[INFO] [stderr]   Downloaded blocking v1.6.2
[INFO] [stderr]   Downloaded async-global-executor v2.4.1
[INFO] [stderr]   Downloaded hermit-abi v0.5.2
[INFO] [stderr]   Downloaded polling v3.10.0
[INFO] [stderr]   Downloaded wasm-bindgen-futures v0.4.50
[INFO] [stderr]   Downloaded zerocopy v0.8.26
[INFO] [stderr]   Downloaded hashlink v0.8.4
[INFO] [stderr]   Downloaded hex v0.4.3
[INFO] [stderr]   Downloaded foreign-types v0.3.2
[INFO] [stderr]   Downloaded pkg-config v0.3.32
[INFO] [stderr]   Downloaded core-foundation v0.9.4
[INFO] [stderr]   Downloaded security-framework-sys v2.14.0
[INFO] [stderr]   Downloaded errno v0.3.13
[INFO] [stderr]   Downloaded windows-targets v0.53.3
[INFO] [stderr]   Downloaded block-buffer v0.10.4
[INFO] [stderr]   Downloaded generic-array v0.14.7
[INFO] [stderr]   Downloaded crypto-common v0.1.6
[INFO] [stderr]   Downloaded digest v0.10.7
[INFO] [stderr]   Downloaded sha2 v0.10.9
[INFO] [stderr]   Downloaded form_urlencoded v1.2.2
[INFO] [stderr]   Downloaded zerofrom-derive v0.1.6
[INFO] [stderr]   Downloaded idna_adapter v1.2.1
[INFO] [stderr]   Downloaded tokio-test v0.4.4
[INFO] [stderr]   Downloaded futures-macro v0.3.31
[INFO] [stderr]   Downloaded futures-task v0.3.31
[INFO] [stderr]   Downloaded pin-utils v0.1.0
[INFO] [stderr]   Downloaded chrono v0.4.41
[INFO] [stderr]   Downloaded tracing-subscriber v0.3.20
[INFO] [stderr]   Downloaded atomic-waker v1.1.2
[INFO] [stderr]   Downloaded piper v0.2.4
[INFO] [stderr]   Downloaded event-listener v5.4.1
[INFO] [stderr]   Downloaded async-lock v3.4.1
[INFO] [stderr]   Downloaded futures-intrusive v0.5.0
[INFO] [stderr]   Downloaded foreign-types-shared v0.1.1
[INFO] [stderr]   Downloaded openssl-macros v0.1.1
[INFO] [stderr]   Downloaded cpufeatures v0.2.17
[INFO] [stderr]   Downloaded version_check v0.9.5
[INFO] [stderr]   Downloaded subtle v2.6.1
[INFO] [stderr]   Downloaded zerofrom v0.1.6
[INFO] [stderr]   Downloaded async-stream-impl v0.3.6
[INFO] [stderr]   Downloaded async-stream v0.3.6
[INFO] [stderr]   Downloaded futures-io v0.3.31
[INFO] [stderr]   Downloaded fnv v1.0.7
[INFO] [stderr]   Downloaded tokio-util v0.7.16
[INFO] [stderr]   Downloaded time v0.3.43
[INFO] [stderr]   Downloaded libm v0.2.15
[INFO] [stderr]   Downloaded aho-corasick v1.1.3
[INFO] [stderr]   Downloaded serde_json v1.0.143
[INFO] [stderr]   Downloaded wasi v0.14.3+wasi-0.2.4
[INFO] [stderr]   Downloaded futures-lite v2.6.1
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.26
[INFO] [stderr]   Downloaded openssl-probe v0.1.6
[INFO] [stderr]   Downloaded icu_normalizer v2.0.0
[INFO] [stderr]   Downloaded potential_utf v0.1.3
[INFO] [stderr]   Downloaded stable_deref_trait v1.2.0
[INFO] [stderr]   Downloaded yoke-derive v0.8.0
[INFO] [stderr]   Downloaded utf8_iter v1.0.4
[INFO] [stderr]   Downloaded backtrace v0.3.75
[INFO] [stderr]   Downloaded bytes v1.10.1
[INFO] [stderr]   Downloaded io-uring v0.7.10
[INFO] [stderr]   Downloaded mio v1.0.4
[INFO] [stderr]   Downloaded tower-http v0.5.2
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.15
[INFO] [stderr]   Downloaded cc v1.2.35
[INFO] [stderr]   Downloaded memchr v2.7.5
[INFO] [stderr]   Downloaded tracing v0.1.41
[INFO] [stderr]   Downloaded serde v1.0.219
[INFO] [stderr]   Downloaded tracing-core v0.1.34
[INFO] [stderr]   Downloaded wit-bindgen v0.45.0
[INFO] [stderr]   Downloaded gloo-timers v0.3.0
[INFO] [stderr]   Downloaded kv-log-macro v1.0.7
[INFO] [stderr]   Downloaded http-range-header v0.4.2
[INFO] [stderr]   Downloaded addr2line v0.24.2
[INFO] [stderr]   Downloaded miniz_oxide v0.8.9
[INFO] [stderr]   Downloaded wasi v0.11.1+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded bitflags v2.9.4
[INFO] [stderr]   Downloaded socket2 v0.6.0
[INFO] [stderr]   Downloaded core-foundation-sys v0.8.7
[INFO] [stderr]   Downloaded windows-core v0.61.2
[INFO] [stderr]   Downloaded nu-ansi-term v0.50.1
[INFO] [stderr]   Downloaded sharded-slab v0.1.7
[INFO] [stderr]   Downloaded smallvec v1.15.1
[INFO] [stderr]   Downloaded tracing-attributes v0.1.30
[INFO] [stderr]   Downloaded serde_derive v1.0.219
[INFO] [stderr]   Downloaded getrandom v0.3.3
[INFO] [stderr]   Downloaded js-sys v0.3.77
[INFO] [stderr]   Downloaded value-bag v1.11.1
[INFO] [stderr]   Downloaded log v0.4.28
[INFO] [stderr]   Downloaded proc-macro2 v1.0.101
[INFO] [stderr]   Downloaded crc-catalog v2.4.0
[INFO] [stderr]   Downloaded crc v3.3.0
[INFO] [stderr]   Downloaded crossbeam-queue v0.3.12
[INFO] [stderr]   Downloaded event-listener v2.5.3
[INFO] [stderr]   Downloaded httpdate v1.0.3
[INFO] [stderr]   Downloaded mime_guess v2.0.5
[INFO] [stderr]   Downloaded rustc-demangle v0.1.26
[INFO] [stderr]   Downloaded redox_syscall v0.5.17
[INFO] [stderr]   Downloaded parking_lot_core v0.9.11
[INFO] [stderr]   Downloaded parking_lot v0.12.4
[INFO] [stderr]   Downloaded signal-hook-registry v1.4.6
[INFO] [stderr]   Downloaded slab v0.4.11
[INFO] [stderr]   Downloaded thiserror-impl v1.0.69
[INFO] [stderr]   Downloaded thiserror v1.0.69
[INFO] [stderr]   Downloaded deranged v0.5.3
[INFO] [stderr]   Downloaded tracing-appender v0.2.3
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.0
[INFO] [stderr]   Downloaded iana-time-zone v0.1.63
[INFO] [stderr]   Downloaded lock_api v0.4.13
[INFO] [stderr]   Downloaded spin v0.9.8
[INFO] [stderr]   Downloaded thread_local v1.1.9
[INFO] [stderr]   Downloaded tracing-log v0.2.0
[INFO] [stderr]   Downloaded percent-encoding v2.3.2
[INFO] [stderr]   Downloaded tower-layer v0.3.3
[INFO] [stderr]   Downloaded time-macros v0.2.24
[INFO] [stderr]   Downloaded windows-strings v0.4.2
[INFO] [stderr]   Downloaded valuable v0.1.1
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.100
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.100
[INFO] [stderr]   Downloaded futures-sink v0.3.31
[INFO] [stderr]   Downloaded tokio-macros v2.5.0
[INFO] [stderr]   Downloaded time-core v0.1.6
[INFO] [stderr]   Downloaded android-tzdata v0.1.1
[INFO] [stderr]   Downloaded android_system_properties v0.1.5
[INFO] [stderr]   Downloaded lazy_static v1.5.0
[INFO] [stderr]   Downloaded http-body-util v0.1.3
[INFO] [stderr]   Downloaded tower-service v0.3.3
[INFO] [stderr]   Downloaded powerfmt v0.2.0
[INFO] [stderr]   Downloaded windows-interface v0.59.1
[INFO] [stderr]   Downloaded windows-result v0.3.4
[INFO] [stderr]   Downloaded windows-targets v0.52.6
[INFO] [stderr]   Downloaded quote v1.0.40
[INFO] [stderr]   Downloaded num-conv v0.1.0
[INFO] [stderr]   Downloaded windows-implement v0.60.0
[INFO] [stderr]   Downloaded windows-link v0.1.3
[INFO] [stderr]   Downloaded matchers v0.2.0
[INFO] [stderr]   Downloaded scopeguard v1.2.0
[INFO] [stderr]   Downloaded tracing-serde v0.2.0
[INFO] [stderr]   Downloaded cfg-if v1.0.3
[INFO] [stderr]   Downloaded windows v0.61.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] a341e09a2be09910a3c3753d360e920bac38240b58694f28d541ad98539e2ce2
[INFO] running `Command { std: "docker" "start" "-a" "a341e09a2be09910a3c3753d360e920bac38240b58694f28d541ad98539e2ce2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a341e09a2be09910a3c3753d360e920bac38240b58694f28d541ad98539e2ce2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a341e09a2be09910a3c3753d360e920bac38240b58694f28d541ad98539e2ce2", kill_on_drop: false }`
[INFO] [stdout] a341e09a2be09910a3c3753d360e920bac38240b58694f28d541ad98539e2ce2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0f0d2ee95a55569ddf35a5ce6904ec304fd68a9e2f1dab7912f62b0051a1a7c2
[INFO] running `Command { std: "docker" "start" "-a" "0f0d2ee95a55569ddf35a5ce6904ec304fd68a9e2f1dab7912f62b0051a1a7c2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling autocfg v1.5.0
[INFO] [stderr]    Compiling once_cell v1.21.3
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]    Compiling value-bag v1.11.1
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling itoa v1.0.15
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling bitflags v2.9.4
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling concurrent-queue v2.5.0
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling find-msvc-tools v0.1.0
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling cc v1.2.35
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling futures-lite v2.6.1
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling piper v0.2.4
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling serde_json v1.0.143
[INFO] [stderr]    Compiling ryu v1.0.20
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling event-listener v5.4.1
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling socket2 v0.4.10
[INFO] [stderr]    Compiling socket2 v0.6.0
[INFO] [stderr]    Compiling polling v2.8.0
[INFO] [stderr]    Compiling equivalent v1.0.2
[INFO] [stderr]    Compiling utf8_iter v1.0.4
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]    Compiling io-lifetimes v1.0.11
[INFO] [stderr]    Compiling hashbrown v0.15.5
[INFO] [stderr]    Compiling openssl-probe v0.1.6
[INFO] [stderr]    Compiling async-executor v1.13.3
[INFO] [stderr]    Compiling event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling rustix v0.37.28
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling async-io v1.13.0
[INFO] [stderr]    Compiling waker-fn v1.2.0
[INFO] [stderr]    Compiling indexmap v2.11.0
[INFO] [stderr]    Compiling fastrand v1.9.0
[INFO] [stderr]    Compiling linux-raw-sys v0.3.8
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling async-lock v2.8.0
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling futures-lite v1.13.0
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling allocator-api2 v0.2.21
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling tower-service v0.3.3
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling async-channel v2.5.0
[INFO] [stderr]    Compiling async-lock v3.4.1
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling blocking v1.6.2
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling http v1.3.1
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling polling v3.10.0
[INFO] [stderr]    Compiling async-io v2.5.0
[INFO] [stderr]    Compiling tinystr v0.8.1
[INFO] [stderr]    Compiling icu_locale_core v2.0.0
[INFO] [stderr]    Compiling potential_utf v0.1.3
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling icu_provider v2.0.0
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]    Compiling httpdate v1.0.3
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling http-body v1.0.1
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling url v2.5.7
[INFO] [stderr]    Compiling async-std v1.13.2
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling http v0.2.12
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling tower-layer v0.3.3
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling inout v0.1.4
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling subtle v2.6.1
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling rustversion v1.0.22
[INFO] [stderr]    Compiling try-lock v0.2.5
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling universal-hash v0.5.1
[INFO] [stderr]    Compiling cipher v0.4.4
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling http-body v0.4.6
[INFO] [stderr]    Compiling http-body-util v0.1.3
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling tempfile v3.21.0
[INFO] [stderr]    Compiling sync_wrapper v1.0.2
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling lazy_static v1.5.0
[INFO] [stderr]    Compiling portable-atomic v1.11.1
[INFO] [stderr]    Compiling iana-time-zone v0.1.63
[INFO] [stderr]    Compiling opaque-debug v0.3.1
[INFO] [stderr]    Compiling polyval v0.6.2
[INFO] [stderr]    Compiling chrono v0.4.41
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling deranged v0.5.3
[INFO] [stderr]    Compiling sqlx-sqlite v0.7.4
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling tracing-serde v0.2.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling moka v0.12.10
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling nu-ansi-term v0.50.1
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]    Compiling time v0.3.43
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling axum-core v0.4.5
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling ghash v0.5.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling ctr v0.9.2
[INFO] [stderr]    Compiling aes v0.8.4
[INFO] [stderr]    Compiling serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling aead v0.5.2
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling encoding_rs v0.8.35
[INFO] [stderr]    Compiling http-range-header v0.4.2
[INFO] [stderr]    Compiling tagptr v0.2.0
[INFO] [stderr]    Compiling ipnet v2.11.0
[INFO] [stderr]    Compiling sync_wrapper v0.1.2
[INFO] [stderr]    Compiling matchit v0.7.3
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling aes-gcm v0.10.3
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling tracing-appender v0.2.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling tower v0.4.13
[INFO] [stderr]    Compiling bytes v0.6.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling project_rust_learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/dao/model/preload.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, error, debug, warn};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `verify_key_integrity`
[INFO] [stdout]  --> src/dao/provider_key_pool/provider_key_pool.rs:3:62
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::dao::provider_key_pool::crypto::{process_api_key, verify_key_integrity};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `delete` and `post`
[INFO] [stdout]  --> src/web/server.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     routing::{get, post, put, delete},
[INFO] [stdout]   |                    ^^^^       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::SqlitePool`
[INFO] [stdout]  --> src/web/handlers/api_key_handler.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sqlx::SqlitePool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `decrypt_api_key` and `process_api_key`
[INFO] [stdout]   --> src/web/handlers/api_key_handler.rs:24:45
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::dao::provider_key_pool::crypto::{process_api_key, decrypt_api_key};
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `base_client` and `base_url` are never read
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct DynamicAliClient {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 63 |     base_client: BaseClient,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 64 |     base_url: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<'_, T> {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `create_model`, `delete_model`, `get_model_by_id`, and `update_model`
[INFO] [stdout]  --> src/dao/model/mod.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use model::{Model, create_model, list_models, update_model, delete_model, get_model_by_id, get_model_by_provider_and_name};
[INFO] [stdout]   |                        ^^^^^^^^^^^^               ^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/dao/model/preload.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, error, debug, warn};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `provider::*`
[INFO] [stdout]  --> src/dao/provider/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use provider::*;
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `verify_key_integrity`
[INFO] [stdout]  --> src/dao/provider_key_pool/provider_key_pool.rs:3:62
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::dao::provider_key_pool::crypto::{process_api_key, verify_key_integrity};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `create_provider_key_pool_from_raw_key`, `create_provider_key_pool`, `delete_provider_key_pool`, `list_active_provider_key_pools`, `list_provider_key_pools_by_provider`, `toggle_provider_key_pool_active`, `update_key_pool_usage`, and `update_provider_key_pool`
[INFO] [stdout]   --> src/dao/provider_key_pool/mod.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  7 |     create_provider_key_pool, 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     list_provider_key_pools_by_provider,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     list_active_provider_key_pools,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     update_provider_key_pool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     update_key_pool_usage,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     delete_provider_key_pool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     toggle_provider_key_pool_active,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     create_provider_key_pool_from_raw_key
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CachedProviderKeyPool` and `insert_cached_provider_key_pool_to_cache`
[INFO] [stdout]   --> src/dao/provider_key_pool/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     CachedProviderKeyPool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     insert_cached_provider_key_pool_to_cache,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `decrypt_api_key`, `encrypt_api_key`, `generate_key_hash`, `process_api_key`, and `verify_key_integrity`
[INFO] [stdout]   --> src/dao/provider_key_pool/mod.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     generate_key_hash,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 35 |     encrypt_api_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 36 |     decrypt_api_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     process_api_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 38 |     verify_key_integrity
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SystemConfig`, `create_system_config`, `delete_system_config`, `delete_system_configs_by_category`, `get_system_config_by_id`, `get_system_config_by_key`, `get_system_config_value`, `list_encrypted_system_configs`, `list_system_configs_by_category`, `list_system_configs`, `system_config_exists`, `update_system_config_encryption`, `update_system_config_value`, and `update_system_config`
[INFO] [stdout]   --> src/dao/system_config/mod.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout]  4 |     SystemConfig,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  5 |     create_system_config,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  6 |     get_system_config_by_id,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  7 |     get_system_config_by_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     list_system_configs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     list_system_configs_by_category,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     list_encrypted_system_configs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     update_system_config,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     update_system_config_value,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     update_system_config_encryption,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     delete_system_config,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     delete_system_configs_by_category,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     system_config_exists,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     get_system_config_value
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CallLogStats`, `count_call_logs_by_model`, `count_call_logs`, `delete_call_log`, `delete_call_logs_by_model`, `delete_old_call_logs`, `get_call_log_by_id`, `get_call_logs_stats_by_model`, `get_call_logs_stats`, `list_call_logs_by_date_range`, `list_call_logs_by_model`, `list_call_logs_by_status`, `list_call_logs_paginated`, `list_call_logs`, `list_error_call_logs`, and `update_call_log`
[INFO] [stdout]   --> src/dao/call_log/mod.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  5 |     CallLogStats,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  6 |     create_call_log,
[INFO] [stdout]  7 |     get_call_log_by_id,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     list_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     list_call_logs_paginated,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     list_call_logs_by_model,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     list_call_logs_by_status,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     list_error_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     list_call_logs_by_date_range,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     get_call_logs_stats,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     get_call_logs_stats_by_model,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     update_call_log,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     delete_call_log,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     delete_call_logs_by_model,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     delete_old_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     count_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     count_call_logs_by_model
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_active_key_count`, `get_api_key_round_robin`, `get_round_robin_counter`, `reload_provider_api_keys`, and `reset_round_robin_counter`
[INFO] [stdout]   --> src/llm_api/utils/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     get_api_key_round_robin,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     reload_provider_api_keys,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     reset_round_robin_counter,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     get_round_robin_counter,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     get_active_key_count
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/main.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{info, error, warn, debug};
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::llm_api::ollama::client`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::llm_api::ollama::client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_or_load` and `invalidate` are never used
[INFO] [stdout]   --> src/dao/cache/cache.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | / impl<K, V> CacheService<K, V>
[INFO] [stdout] 11 | | where
[INFO] [stdout] 12 | |     K: std::hash::Hash + Eq + Clone + Send + Sync + 'static,
[INFO] [stdout] 13 | |     V: Clone + Send + Sync + 'static,
[INFO] [stdout]    | |_____________________________________- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |       pub async fn get_or_load<F, Fut>(&self, key: K, loader: F) -> V
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |       pub async fn invalidate(&self, key: &K) {
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_model` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub async fn create_model(pool: &SqlitePool, model: &Model) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_by_id` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub async fn get_model_by_id(pool: &SqlitePool, id: &str) -> Result<Option<Model>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_by_provider_and_name` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub async fn get_model_by_provider_and_name(pool: &SqlitePool, provider: &str, name: &str) -> Result<Option<Model>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_model` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub async fn update_model(pool: &SqlitePool, model: &Model) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_model` is never used
[INFO] [stdout]    --> src/dao/model/model.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub async fn delete_model(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_from_cache` is never used
[INFO] [stdout]   --> src/dao/model/preload.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub async fn get_model_from_cache(provider: &str, name: &str) -> Option<Model> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_model_to_cache` is never used
[INFO] [stdout]   --> src/dao/model/preload.rs:67:14
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub async fn insert_model_to_cache(model: &Model) -> Result<()> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Provider` is never constructed
[INFO] [stdout]  --> src/dao/provider/provider.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Provider {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn create_provider(pool: &SqlitePool, provider: &Provider) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider_by_id` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub async fn get_provider_by_id(pool: &SqlitePool, id: &str) -> Result<Option<Provider>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider_by_name` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub async fn get_provider_by_name(pool: &SqlitePool, name: &str) -> Result<Option<Provider>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_providers` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub async fn get_all_providers(pool: &SqlitePool) -> Result<Vec<Provider>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub async fn update_provider(pool: &SqlitePool, id: &str, provider: &Provider) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:78:14
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub async fn delete_provider(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hard_delete_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:87:14
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub async fn hard_delete_provider(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_models_for_provider` is never used
[INFO] [stdout]    --> src/dao/provider/provider.rs:103:14
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub async fn count_models_for_provider(pool: &SqlitePool, provider_id: &str) -> Result<i64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider_key_pool` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub async fn create_provider_key_pool(pool: &SqlitePool, key_pool: &ProviderKeyPool) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider_key_pool_by_id` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn get_provider_key_pool_by_id(pool: &SqlitePool, id: &str) -> Result<Option<ProviderKeyPool>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_provider_key_pools_by_provider` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn list_provider_key_pools_by_provider(pool: &SqlitePool, provider: &str) -> Result<Vec<ProviderKeyPool>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_active_provider_key_pools` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub async fn list_active_provider_key_pools(pool: &SqlitePool) -> Result<Vec<ProviderKeyPool>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_provider_key_pool` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub async fn update_provider_key_pool(pool: &SqlitePool, key_pool: &ProviderKeyPool) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_key_pool_usage` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub async fn update_key_pool_usage(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_provider_key_pool` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:119:14
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub async fn delete_provider_key_pool(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `toggle_provider_key_pool_active` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:128:14
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub async fn toggle_provider_key_pool_active(pool: &SqlitePool, id: &str, is_active: bool) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider_key_pool_from_raw_key` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:152:14
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub async fn create_provider_key_pool_from_raw_key(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_provider_key_pool_to_cache` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:167:14
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub async fn insert_provider_key_pool_to_cache(key_pool: &ProviderKeyPool) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_cached_provider_key_pool_to_cache` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:185:14
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub async fn insert_cached_provider_key_pool_to_cache(cached_key_pool: &CachedProviderKeyPool) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_api_key_round_robin` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:209:14
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub async fn get_api_key_round_robin(provider: &str) -> Option<(String, String)> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reload_provider_api_keys` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:267:14
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub async fn reload_provider_api_keys(pool: &SqlitePool, provider: &str) -> anyhow::Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reset_round_robin_counter` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:303:14
[INFO] [stdout]     |
[INFO] [stdout] 303 | pub async fn reset_round_robin_counter(provider: &str) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_round_robin_counter` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:318:14
[INFO] [stdout]     |
[INFO] [stdout] 318 | pub async fn get_round_robin_counter(provider: &str) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_active_key_count` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:332:14
[INFO] [stdout]     |
[INFO] [stdout] 332 | pub async fn get_active_key_count(provider: &str) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_key_hash` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/crypto.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn generate_key_hash(api_key: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt_api_key` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/crypto.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn encrypt_api_key(api_key: &str) -> Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_api_key` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/crypto.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn process_api_key(api_key: &str) -> Result<(String, String)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_key_integrity` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/crypto.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub fn verify_key_integrity(decrypted_key: &str, stored_hash: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_system_config` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn create_system_config(pool: &SqlitePool, config: &SystemConfig) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_system_config_by_id` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub async fn get_system_config_by_id(pool: &SqlitePool, id: &str) -> Result<Option<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_system_config_by_key` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub async fn get_system_config_by_key(pool: &SqlitePool, category: &str, key_name: &str) -> Result<Option<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_system_configs` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub async fn list_system_configs(pool: &SqlitePool) -> Result<Vec<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_system_configs_by_category` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub async fn list_system_configs_by_category(pool: &SqlitePool, category: &str) -> Result<Vec<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_encrypted_system_configs` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub async fn list_encrypted_system_configs(pool: &SqlitePool) -> Result<Vec<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_system_config` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:79:14
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub async fn update_system_config(pool: &SqlitePool, config: &SystemConfig) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_system_config_value` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:101:14
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub async fn update_system_config_value(pool: &SqlitePool, category: &str, key_name: &str, value: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_system_config_encryption` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub async fn update_system_config_encryption(pool: &SqlitePool, id: &str, is_encrypted: bool, encrypted_value: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_system_config` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:136:14
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub async fn delete_system_config(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_system_configs_by_category` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:145:14
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub async fn delete_system_configs_by_category(pool: &SqlitePool, category: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `system_config_exists` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:154:14
[INFO] [stdout]     |
[INFO] [stdout] 154 | pub async fn system_config_exists(pool: &SqlitePool, category: &str, key_name: &str) -> Result<bool> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_system_config_value` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:164:14
[INFO] [stdout]     |
[INFO] [stdout] 164 | pub async fn get_system_config_value(pool: &SqlitePool, category: &str, key_name: &str) -> Result<Option<String>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_call_log` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn create_call_log(pool: &SqlitePool, call_log: &CallLog) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_call_log_by_id` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub async fn get_call_log_by_id(pool: &SqlitePool, id: &str) -> Result<Option<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub async fn list_call_logs(pool: &SqlitePool) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_paginated` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub async fn list_call_logs_paginated(pool: &SqlitePool, limit: i64, offset: i64) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_by_model` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub async fn list_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_by_status` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub async fn list_call_logs_by_status(pool: &SqlitePool, status_code: i64) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_error_call_logs` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:80:14
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub async fn list_error_call_logs(pool: &SqlitePool) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_by_date_range` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub async fn list_call_logs_by_date_range(pool: &SqlitePool, start_date: &str, end_date: &str) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_call_logs_stats` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:100:14
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub async fn get_call_logs_stats(pool: &SqlitePool) -> Result<CallLogStats> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_call_logs_stats_by_model` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:117:14
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub async fn get_call_logs_stats_by_model(pool: &SqlitePool, model_id: &str) -> Result<CallLogStats> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_call_log` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:135:14
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub async fn update_call_log(pool: &SqlitePool, call_log: &CallLog) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_call_log` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:157:14
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub async fn delete_call_log(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_call_logs_by_model` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:166:14
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub async fn delete_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_old_call_logs` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub async fn delete_old_call_logs(pool: &SqlitePool, before_date: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_call_logs` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:184:14
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub async fn count_call_logs(pool: &SqlitePool) -> Result<i64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_call_logs_by_model` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub async fn count_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<i64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CallLogStats` is never constructed
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:202:12
[INFO] [stdout]     |
[INFO] [stdout] 202 | pub struct CallLogStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_api_key_with_cache` is never used
[INFO] [stdout]   --> src/llm_api/utils/api_key_check.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub async fn get_api_key_with_cache(provider: &str, id: &str) -> Result<Option<String>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_with_cache` is never used
[INFO] [stdout]   --> src/llm_api/utils/model_check.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn get_model_with_cache(provider: &str, name: &str) -> Result<Option<Model>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToolCall` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/msg_structure.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ToolCall {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/msg_structure.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Message {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Function` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/msg_structure.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct Function {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/msg_structure.rs:57:12
[INFO] [stdout]     |
[INFO] [stdout]  55 | impl Message {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  56 |     /// 创建系统消息
[INFO] [stdout]  57 |     pub fn system(content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn user(content: String) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn assistant(content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn tool(content: String, tool_name: String) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn with_images(mut self, images: Vec<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn with_thinking(mut self, thinking: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn with_tool_calls(mut self, tool_calls: Vec<ToolCall>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tool` is never constructed
[INFO] [stdout]  --> src/llm_api/utils/tool_structure.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Tool {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToolFunction` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/tool_structure.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct ToolFunction {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ChatRequestTrait` is never used
[INFO] [stdout]   --> src/llm_api/utils/chat_traits.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait ChatRequestTrait {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ChatResponseTrait` is never used
[INFO] [stdout]   --> src/llm_api/utils/chat_traits.rs:71:11
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub trait ChatResponseTrait {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerformanceSummary` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub struct PerformanceSummary {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `empty`, `has_data`, and `format` are never used
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl PerformanceSummary {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 142 |     /// 创建空的性能摘要
[INFO] [stdout] 143 |     pub fn empty() -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn has_data(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub fn format(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ChatClientTrait` is never used
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:192:11
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub trait ChatClientTrait {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatRequestBuilder` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:213:12
[INFO] [stdout]     |
[INFO] [stdout] 213 | pub struct ChatRequestBuilder {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 221 | impl ChatRequestBuilder {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 222 |     /// 创建新的构建器
[INFO] [stdout] 223 |     pub fn new(model: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 234 |     pub fn messages(mut self, messages: Vec<Message>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn add_message(mut self, message: Message) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn system(mut self, content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn user(mut self, content: String) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     pub fn assistant(mut self, content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     pub fn stream(mut self, stream: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     pub fn options(mut self, options: HashMap<String, Value>) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub fn format(mut self, format: String) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 282 |     pub fn build_fields(self) -> (String, Vec<Message>, Option<bool>, Option<HashMap<String, Value>>, Option<String>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TimeoutConfig` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct TimeoutConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_request_timeout`, and `with_connect_timeout` are never used
[INFO] [stdout]   --> src/llm_api/utils/client.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl TimeoutConfig {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 43 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn with_request_timeout(mut self, timeout: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn with_connect_timeout(mut self, timeout: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RetryConfig` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct RetryConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_max_attempts`, and `with_base_delay` are never used
[INFO] [stdout]   --> src/llm_api/utils/client.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl RetryConfig {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 85 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn with_max_attempts(mut self, attempts: u32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn with_base_delay(mut self, delay: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientConfig` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct ClientConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_timeout`, `with_retry`, `add_header`, and `with_user_agent` are never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | impl ClientConfig {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 127 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn with_timeout(mut self, timeout: TimeoutConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn with_retry(mut self, retry: RetryConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn add_header(mut self, key: String, value: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn with_user_agent(mut self, user_agent: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ClientError` is never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:156:10
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub enum ClientError {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestContext` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:207:12
[INFO] [stdout]     |
[INFO] [stdout] 207 | pub struct RequestContext {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 230 | impl RequestContext {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 231 |     /// 创建新的请求上下文
[INFO] [stdout] 232 |     pub fn new(url: &str, max_attempts: u32, is_stream: bool) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     pub fn set_model_id(&mut self, model_id: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 254 |     pub fn add_tokens(&mut self, tokens: i64) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |     pub fn start_retry(&mut self, reason: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     pub fn total_elapsed(&self) -> Duration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     pub fn attempt_elapsed(&self) -> Duration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub fn is_final_attempt(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientMetrics` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:283:12
[INFO] [stdout]     |
[INFO] [stdout] 283 | pub struct ClientMetrics {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BaseClient` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:304:12
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct BaseClient {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:315:12
[INFO] [stdout]     |
[INFO] [stdout] 313 | impl BaseClient {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 314 |     /// 创建新的基础客户端
[INFO] [stdout] 315 |     pub fn new(config: ClientConfig) -> Result<Self, ClientError> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |     pub fn new_with_client(config: ClientConfig, custom_client: Option<HttpClient>) -> Result<Self, ClientError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 355 |     pub fn new_default() -> Result<Self, ClientError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |     pub fn http_client(&self) -> &HttpClient {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 367 |     pub fn config(&self) -> &ClientConfig {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 372 |     pub fn metrics(&self) -> ClientMetrics {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 377 |     pub async fn post<T>(&self, url: &str, body: T) -> Result<Response, ClientError>
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 515 |     pub async fn post_stream<T, F>(&self, url: &str, body: T, mut callback: F) -> Result<(), ClientError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 724 |     fn calculate_backoff_delay(&self, attempt: u32) -> Duration {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 739 |     fn should_retry(&self, error: &ClientError, _attempt: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 754 |     fn update_success_metrics(&self, response_time: Duration) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 780 |     fn update_failure_metrics(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 788 |     fn log_request_start(&self, ctx: &RequestContext) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 799 |     fn log_retry_attempt(&self, ctx: &RequestContext, delay: Duration) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 813 |     fn log_request_success(&self, ctx: &RequestContext) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 825 |     fn log_request_failure(&self, ctx: &RequestContext, error: &ClientError) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 838 |     fn log_network_error(&self, ctx: &RequestContext, error: &reqwest::Error) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 859 |     fn log_timeout_error(&self, ctx: &RequestContext, timeout_duration: Duration) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 872 |     fn log_api_error(&self, ctx: &RequestContext, message: &str, status_code: Option<u16>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 885 |     fn log_retry_exhausted(&self, ctx: &RequestContext, final_error: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 898 |     async fn create_call_record(&self, ctx: &RequestContext, status_code: i64, error_message: Option<String>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LLMClientTrait` is never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:942:11
[INFO] [stdout]     |
[INFO] [stdout] 942 | pub trait LLMClientTrait {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientPool` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ClientPool<T> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `acquire`, and `size` are never used
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<T> ClientPool<T> {
[INFO] [stdout]    | --------------------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new(clients: Vec<T>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub async fn acquire(&self) -> ClientGuard<T> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn size(&self) -> usize {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientGuard` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct ClientGuard<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `lock` is never used
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:56:18
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl<T> ClientGuard<T> {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DynamicAliClient` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct DynamicAliClient {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `chat_with_auto_key`, and `chat_stream_with_auto_key` are never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:68:12
[INFO] [stdout]     |
[INFO] [stdout]  67 | impl DynamicAliClient {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout]  68 |     pub fn new() -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub async fn chat_with_auto_key(&self, request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub async fn chat_stream_with_auto_key<F>(&self, request: AliChatRequest, callback: F) -> Result<(), AliError>
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GlobalAliClientPool` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub struct GlobalAliClientPool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `init`, `chat`, `chat_stream`, and `size` are never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:169:18
[INFO] [stdout]     |
[INFO] [stdout] 167 | impl GlobalAliClientPool {
[INFO] [stdout]     | ------------------------ associated items in this implementation
[INFO] [stdout] 168 |     /// 初始化全局客户端池
[INFO] [stdout] 169 |     pub async fn init(pool_size: usize) -> Result<Self> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub async fn chat(&self, request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub async fn chat_stream<F>(&self, request: AliChatRequest, callback: F) -> Result<(), AliError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub fn size(&self) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GLOBAL_ALI_POOL` is never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 217 | static GLOBAL_ALI_POOL: OnceCell<GlobalAliClientPool> = OnceCell::const_new();
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_ali_client_pool` is never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:220:14
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub async fn init_ali_client_pool(pool_size: usize) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ali_client_pool` is never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:228:14
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub async fn get_ali_client_pool() -> Result<&'static GlobalAliClientPool> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliChatRequest` is never constructed
[INFO] [stdout]   --> src/llm_api/ali/client.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct AliChatRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_max_tokens`, `with_temperature`, `with_top_p`, `with_stop`, and `with_incremental_output` are never used
[INFO] [stdout]   --> src/llm_api/ali/client.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl AliChatRequest {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 54 |     /// 创建新的聊天请求
[INFO] [stdout] 55 |     pub fn new(model: String, messages: Vec<Message>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn with_max_tokens(mut self, max_tokens: u32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn with_temperature(mut self, temperature: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn with_top_p(mut self, top_p: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn with_stop(mut self, stop: Vec<String>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn with_incremental_output(mut self, incremental: bool) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliUsage` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:245:12
[INFO] [stdout]     |
[INFO] [stdout] 245 | pub struct AliUsage {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliPromptTokensDetails` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:259:12
[INFO] [stdout]     |
[INFO] [stdout] 259 | pub struct AliPromptTokensDetails {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliChoice` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:267:12
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub struct AliChoice {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliChatResponse` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:281:12
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub struct AliChatResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliStreamResponse` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:331:12
[INFO] [stdout]     |
[INFO] [stdout] 331 | pub struct AliStreamResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliStreamChoice` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:349:12
[INFO] [stdout]     |
[INFO] [stdout] 349 | pub struct AliStreamChoice {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliDelta` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:361:12
[INFO] [stdout]     |
[INFO] [stdout] 361 | pub struct AliDelta {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AliError` is never used
[INFO] [stdout]    --> src/llm_api/ali/client.rs:372:10
[INFO] [stdout]     |
[INFO] [stdout] 372 | pub enum AliError {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliClient` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:415:12
[INFO] [stdout]     |
[INFO] [stdout] 415 | pub struct AliClient {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/ali/client.rs:426:15
[INFO] [stdout]     |
[INFO] [stdout] 424 | impl AliClient {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 425 |     /// DashScope API 的默认基础 URL
[INFO] [stdout] 426 |     pub const DEFAULT_BASE_URL: &'static str = "https://dashscope.aliyuncs.com";
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 429 |     pub fn new(api_key: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 434 |     pub fn new_with_base_url(api_key: String, base_url: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 443 |     pub fn new_with_config(api_key: String, base_url: String, mut config: ClientConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 459 |     pub fn new_with_client(api_key: String, base_url: String, mut config: ClientConfig, client: Client) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 475 |     pub async fn chat(&self, mut request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 508 |     pub async fn chat_stream<F>(&self, mut request: AliChatRequest, mut callback: F) -> Result<(), AliError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 554 |     pub fn api_key(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 559 |     pub fn base_url(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaChatRequest` is never constructed
[INFO] [stdout]   --> src/llm_api/ollama/client.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct OllamaChatRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_tools`, and `add_tool` are never used
[INFO] [stdout]   --> src/llm_api/ollama/client.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl OllamaChatRequest {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout] 43 |     /// 创建新的聊天请求
[INFO] [stdout] 44 |     pub fn new(model: String, messages: Vec<Message>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn with_tools(mut self, tools: Vec<Tool>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn add_tool(mut self, tool: Tool) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaChatResponse` is never constructed
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct OllamaChatResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OllamaError` is never used
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:182:10
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub enum OllamaError {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaClient` is never constructed
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 223 | pub struct OllamaClient {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 230 | impl OllamaClient {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 231 |     /// 创建新的 Ollama 客户端
[INFO] [stdout] 232 |     pub fn new(base_url: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     pub fn new_with_config(base_url: String, config: ClientConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub fn new_with_client(base_url: String, config: ClientConfig, client: Client) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub async fn chat(&self, mut request: OllamaChatRequest) -> Result<OllamaChatResponse, OllamaError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     pub async fn chat_stream<F>(&self, mut request: OllamaChatRequest, mut callback: F) -> Result<(), OllamaError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |     pub async fn list_models(&self) -> Result<Vec<String>, OllamaError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub async fn is_model_available(&self, model_name: &str) -> Result<bool, OllamaError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Provider` is never used
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum Provider {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DispatchRequest` is never constructed
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct DispatchRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DispatchResponse` is never constructed
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct DispatchResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenUsage` is never constructed
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct TokenUsage {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LLMClientAdapter` is never used
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:77:11
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub trait LLMClientAdapter: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LLMError` is never used
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub enum LLMError {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaAdapter` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct OllamaAdapter {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl OllamaAdapter {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 134 |     pub fn new(client: OllamaClient) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliAdapter` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct AliAdapter {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:221:12
[INFO] [stdout]     |
[INFO] [stdout] 220 | impl AliAdapter {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 221 |     pub fn new(client: AliClient) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliPoolAdapter` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct AliPoolAdapter {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl AliPoolAdapter {
[INFO] [stdout]     | ------------------- associated function in this implementation
[INFO] [stdout] 232 |     pub fn new(pool: Arc<ClientPool<DynamicAliClient>>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LLMDispatcher` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:401:12
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub struct LLMDispatcher {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DispatchConfig` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:407:12
[INFO] [stdout]     |
[INFO] [stdout] 407 | pub struct DispatchConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:428:12
[INFO] [stdout]     |
[INFO] [stdout] 427 | impl LLMDispatcher {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 428 |     pub fn new(config: Option<DispatchConfig>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 436 |     pub async fn new_with_database(config: Option<DispatchConfig>, db_url: &str, init_sql_path: &str) -> Result<Self, Box<dyn std::...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 483 |     pub async fn register_ali_pool(&self, pool_size: usize) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 503 |     pub async fn register_client(&self, client: Box<dyn LLMClientAdapter>) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 510 |     pub async fn register_clients(&self, clients: Vec<Box<dyn LLMClientAdapter>>) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 517 |     pub async fn dispatch(&self, mut request: DispatchRequest) -> Result<DispatchResponse, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 537 |     pub async fn dispatch_stream(&self, mut request: DispatchRequest) -> Result<tokio::sync::mpsc::Receiver<Result<String, LLMError...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 549 |     pub async fn list_models(&self, provider: Option<Provider>) -> HashMap<Provider, Vec<String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 567 |     pub async fn is_provider_available(&self, provider: &Provider) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 573 |     async fn dispatch_internal(&self, request: &DispatchRequest) -> Result<DispatchResponse, LLMError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 604 |     async fn try_fallback(&self, mut request: DispatchRequest, original_error: LLMError) -> Result<DispatchResponse, LLMError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 621 |     fn apply_defaults(&self, request: &mut DispatchRequest) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 634 |     fn validate_request(&self, request: &DispatchRequest) -> Result<(), LLMError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_stream`, `with_temperature`, `with_max_tokens`, `with_top_p`, and `with_stop` are never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:655:12
[INFO] [stdout]     |
[INFO] [stdout] 654 | impl DispatchRequest {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 655 |     pub fn new(provider: Provider, model: String, messages: Vec<Message>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 673 |     pub fn with_stream(mut self, stream: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 678 |     pub fn with_temperature(mut self, temperature: f32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 683 |     pub fn with_max_tokens(mut self, max_tokens: u32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 688 |     pub fn with_top_p(mut self, top_p: f32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 693 |     pub fn with_stop(mut self, stop: Vec<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `json_format` is never read
[INFO] [stdout]   --> src/logger.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct LogConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub json_format: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LogConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_prod_logger` is never used
[INFO] [stdout]    --> src/logger.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub fn init_prod_logger() -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<'_, T> {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4m 01s
[INFO] running `Command { std: "docker" "inspect" "0f0d2ee95a55569ddf35a5ce6904ec304fd68a9e2f1dab7912f62b0051a1a7c2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f0d2ee95a55569ddf35a5ce6904ec304fd68a9e2f1dab7912f62b0051a1a7c2", kill_on_drop: false }`
[INFO] [stdout] 0f0d2ee95a55569ddf35a5ce6904ec304fd68a9e2f1dab7912f62b0051a1a7c2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e34b0fff544ef6ba86b6aa24c71ed170ac2dc8773bc1c2586b70ce12cc80f134
[INFO] running `Command { std: "docker" "start" "-a" "e34b0fff544ef6ba86b6aa24c71ed170ac2dc8773bc1c2586b70ce12cc80f134", kill_on_drop: false }`
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling regex-syntax v0.8.6
[INFO] [stderr]    Compiling async-stream-impl v0.3.6
[INFO] [stderr]    Compiling assert-json-diff v2.0.2
[INFO] [stderr]    Compiling colored v3.0.0
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]    Compiling tempfile v3.21.0
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling uuid v1.18.1
[INFO] [stderr]    Compiling rand_core v0.9.3
[INFO] [stderr]    Compiling async-stream v0.3.6
[INFO] [stderr]    Compiling rand_chacha v0.9.0
[INFO] [stderr]    Compiling similar v2.7.0
[INFO] [stderr]    Compiling moka v0.12.10
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]    Compiling rand v0.9.2
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]    Compiling regex-automata v0.4.10
[INFO] [stderr]    Compiling sqlx-sqlite v0.7.4
[INFO] [stderr]    Compiling tokio-util v0.7.16
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling tower v0.5.2
[INFO] [stderr]    Compiling h2 v0.4.12
[INFO] [stderr]    Compiling h2 v0.3.27
[INFO] [stderr]    Compiling tower-http v0.5.2
[INFO] [stderr]    Compiling matchers v0.2.0
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]    Compiling tracing-appender v0.2.3
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]    Compiling regex v1.11.2
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling tokio-test v0.4.4
[INFO] [stderr]    Compiling sqlx v0.7.4
[INFO] [stderr]    Compiling hyper v1.7.0
[INFO] [stderr]    Compiling hyper v0.14.32
[INFO] [stderr]    Compiling hyper-util v0.1.16
[INFO] [stderr]    Compiling axum v0.7.9
[INFO] [stderr]    Compiling mockito v1.7.0
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.27
[INFO] [stderr]    Compiling project_rust_learn v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/dao/model/preload.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, error, debug, warn};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `verify_key_integrity`
[INFO] [stdout]  --> src/dao/provider_key_pool/provider_key_pool.rs:3:62
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::dao::provider_key_pool::crypto::{process_api_key, verify_key_integrity};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `delete` and `post`
[INFO] [stdout]  --> src/web/server.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     routing::{get, post, put, delete},
[INFO] [stdout]   |                    ^^^^       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::SqlitePool`
[INFO] [stdout]  --> src/web/handlers/api_key_handler.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sqlx::SqlitePool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `decrypt_api_key` and `process_api_key`
[INFO] [stdout]   --> src/web/handlers/api_key_handler.rs:24:45
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::dao::provider_key_pool::crypto::{process_api_key, decrypt_api_key};
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/dao/model/preload.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, error, debug, warn};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `verify_key_integrity`
[INFO] [stdout]  --> src/dao/provider_key_pool/provider_key_pool.rs:3:62
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::dao::provider_key_pool::crypto::{process_api_key, verify_key_integrity};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `delete` and `post`
[INFO] [stdout]  --> src/web/server.rs:4:20
[INFO] [stdout]   |
[INFO] [stdout] 4 |     routing::{get, post, put, delete},
[INFO] [stdout]   |                    ^^^^       ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `sqlx::SqlitePool`
[INFO] [stdout]  --> src/web/handlers/api_key_handler.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use sqlx::SqlitePool;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `decrypt_api_key` and `process_api_key`
[INFO] [stdout]   --> src/web/handlers/api_key_handler.rs:24:45
[INFO] [stdout]    |
[INFO] [stdout] 24 | use crate::dao::provider_key_pool::crypto::{process_api_key, decrypt_api_key};
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `base_client` and `base_url` are never read
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct DynamicAliClient {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 63 |     base_client: BaseClient,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 64 |     base_url: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<'_, T> {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `base_client` and `base_url` are never read
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct DynamicAliClient {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 63 |     base_client: BaseClient,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 64 |     base_url: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<'_, T> {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_decrypted_api_key_from_cache`, `get_provider_key_pool_from_cache`, and `preload_provider_key_pools_to_cache`
[INFO] [stdout]  --> tests/provider_key_pool_tests.rs:6:38
[INFO] [stdout]   |
[INFO] [stdout] 6 |     toggle_provider_key_pool_active, preload_provider_key_pools_to_cache,
[INFO] [stdout]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 7 |     get_provider_key_pool_from_cache, get_decrypted_api_key_from_cache
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `process_api_key`
[INFO] [stdout]  --> tests/provider_key_pool_tests.rs:9:58
[INFO] [stdout]   |
[INFO] [stdout] 9 | use project_rust_learn::dao::provider_key_pool::crypto::{process_api_key};
[INFO] [stdout]   |                                                          ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `create_model`, `delete_model`, `get_model_by_id`, and `update_model`
[INFO] [stdout]  --> src/dao/model/mod.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use model::{Model, create_model, list_models, update_model, delete_model, get_model_by_id, get_model_by_provider_and_name};
[INFO] [stdout]   |                        ^^^^^^^^^^^^               ^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/dao/model/preload.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, error, debug, warn};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `provider::*`
[INFO] [stdout]  --> src/dao/provider/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use provider::*;
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `verify_key_integrity`
[INFO] [stdout]  --> src/dao/provider_key_pool/provider_key_pool.rs:3:62
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::dao::provider_key_pool::crypto::{process_api_key, verify_key_integrity};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `create_provider_key_pool_from_raw_key`, `create_provider_key_pool`, `delete_provider_key_pool`, `list_active_provider_key_pools`, `list_provider_key_pools_by_provider`, `toggle_provider_key_pool_active`, `update_key_pool_usage`, and `update_provider_key_pool`
[INFO] [stdout]   --> src/dao/provider_key_pool/mod.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  7 |     create_provider_key_pool, 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     list_provider_key_pools_by_provider,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     list_active_provider_key_pools,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     update_provider_key_pool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     update_key_pool_usage,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     delete_provider_key_pool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     toggle_provider_key_pool_active,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     create_provider_key_pool_from_raw_key
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CachedProviderKeyPool` and `insert_cached_provider_key_pool_to_cache`
[INFO] [stdout]   --> src/dao/provider_key_pool/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     CachedProviderKeyPool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     insert_cached_provider_key_pool_to_cache,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `decrypt_api_key`, `encrypt_api_key`, `generate_key_hash`, `process_api_key`, and `verify_key_integrity`
[INFO] [stdout]   --> src/dao/provider_key_pool/mod.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     generate_key_hash,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 35 |     encrypt_api_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 36 |     decrypt_api_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     process_api_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 38 |     verify_key_integrity
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SystemConfig`, `create_system_config`, `delete_system_config`, `delete_system_configs_by_category`, `get_system_config_by_id`, `get_system_config_by_key`, `get_system_config_value`, `list_encrypted_system_configs`, `list_system_configs_by_category`, `list_system_configs`, `system_config_exists`, `update_system_config_encryption`, `update_system_config_value`, and `update_system_config`
[INFO] [stdout]   --> src/dao/system_config/mod.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout]  4 |     SystemConfig,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  5 |     create_system_config,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  6 |     get_system_config_by_id,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  7 |     get_system_config_by_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     list_system_configs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     list_system_configs_by_category,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     list_encrypted_system_configs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     update_system_config,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     update_system_config_value,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     update_system_config_encryption,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     delete_system_config,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     delete_system_configs_by_category,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     system_config_exists,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     get_system_config_value
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CallLogStats`, `count_call_logs_by_model`, `count_call_logs`, `delete_call_log`, `delete_call_logs_by_model`, `delete_old_call_logs`, `get_call_log_by_id`, `get_call_logs_stats_by_model`, `get_call_logs_stats`, `list_call_logs_by_date_range`, `list_call_logs_by_model`, `list_call_logs_by_status`, `list_call_logs_paginated`, `list_call_logs`, `list_error_call_logs`, and `update_call_log`
[INFO] [stdout]   --> src/dao/call_log/mod.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  5 |     CallLogStats,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  6 |     create_call_log,
[INFO] [stdout]  7 |     get_call_log_by_id,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     list_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     list_call_logs_paginated,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     list_call_logs_by_model,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     list_call_logs_by_status,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     list_error_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     list_call_logs_by_date_range,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     get_call_logs_stats,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     get_call_logs_stats_by_model,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     update_call_log,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     delete_call_log,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     delete_call_logs_by_model,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     delete_old_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     count_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     count_call_logs_by_model
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_active_key_count`, `get_api_key_round_robin`, `get_round_robin_counter`, `reload_provider_api_keys`, and `reset_round_robin_counter`
[INFO] [stdout]   --> src/llm_api/utils/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     get_api_key_round_robin,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     reload_provider_api_keys,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     reset_round_robin_counter,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     get_round_robin_counter,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     get_active_key_count
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/main.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{info, error, warn, debug};
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::llm_api::ollama::client`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::llm_api::ollama::client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `create_model`, `delete_model`, `get_model_by_id`, and `update_model`
[INFO] [stdout]  --> src/dao/model/mod.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | pub use model::{Model, create_model, list_models, update_model, delete_model, get_model_by_id, get_model_by_provider_and_name};
[INFO] [stdout]   |                        ^^^^^^^^^^^^               ^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/dao/model/preload.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | use tracing::{info, error, debug, warn};
[INFO] [stdout]   |                                   ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `provider::*`
[INFO] [stdout]  --> src/dao/provider/mod.rs:3:9
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub use provider::*;
[INFO] [stdout]   |         ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `verify_key_integrity`
[INFO] [stdout]  --> src/dao/provider_key_pool/provider_key_pool.rs:3:62
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::dao::provider_key_pool::crypto::{process_api_key, verify_key_integrity};
[INFO] [stdout]   |                                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `create_provider_key_pool_from_raw_key`, `create_provider_key_pool`, `delete_provider_key_pool`, `list_active_provider_key_pools`, `list_provider_key_pools_by_provider`, `toggle_provider_key_pool_active`, `update_key_pool_usage`, and `update_provider_key_pool`
[INFO] [stdout]   --> src/dao/provider_key_pool/mod.rs:7:5
[INFO] [stdout]    |
[INFO] [stdout]  7 |     create_provider_key_pool, 
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 10 |     list_provider_key_pools_by_provider,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     list_active_provider_key_pools,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     update_provider_key_pool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     update_key_pool_usage,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     delete_provider_key_pool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     toggle_provider_key_pool_active,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     create_provider_key_pool_from_raw_key
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CachedProviderKeyPool` and `insert_cached_provider_key_pool_to_cache`
[INFO] [stdout]   --> src/dao/provider_key_pool/mod.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 |     CachedProviderKeyPool,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     insert_cached_provider_key_pool_to_cache,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `decrypt_api_key`, `encrypt_api_key`, `generate_key_hash`, `process_api_key`, and `verify_key_integrity`
[INFO] [stdout]   --> src/dao/provider_key_pool/mod.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     generate_key_hash,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 35 |     encrypt_api_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 36 |     decrypt_api_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 37 |     process_api_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 38 |     verify_key_integrity
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `SystemConfig`, `create_system_config`, `delete_system_config`, `delete_system_configs_by_category`, `get_system_config_by_id`, `get_system_config_by_key`, `get_system_config_value`, `list_encrypted_system_configs`, `list_system_configs_by_category`, `list_system_configs`, `system_config_exists`, `update_system_config_encryption`, `update_system_config_value`, and `update_system_config`
[INFO] [stdout]   --> src/dao/system_config/mod.rs:4:5
[INFO] [stdout]    |
[INFO] [stdout]  4 |     SystemConfig,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  5 |     create_system_config,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  6 |     get_system_config_by_id,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  7 |     get_system_config_by_key,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     list_system_configs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     list_system_configs_by_category,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     list_encrypted_system_configs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     update_system_config,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     update_system_config_value,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     update_system_config_encryption,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     delete_system_config,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     delete_system_configs_by_category,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     system_config_exists,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     get_system_config_value
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `CallLogStats`, `count_call_logs_by_model`, `count_call_logs`, `delete_call_log`, `delete_call_logs_by_model`, `delete_old_call_logs`, `get_call_log_by_id`, `get_call_logs_stats_by_model`, `get_call_logs_stats`, `list_call_logs_by_date_range`, `list_call_logs_by_model`, `list_call_logs_by_status`, `list_call_logs_paginated`, `list_call_logs`, `list_error_call_logs`, and `update_call_log`
[INFO] [stdout]   --> src/dao/call_log/mod.rs:5:5
[INFO] [stdout]    |
[INFO] [stdout]  5 |     CallLogStats,
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout]  6 |     create_call_log,
[INFO] [stdout]  7 |     get_call_log_by_id,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]  8 |     list_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout]  9 |     list_call_logs_paginated,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 10 |     list_call_logs_by_model,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 11 |     list_call_logs_by_status,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     list_error_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     list_call_logs_by_date_range,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     get_call_logs_stats,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     get_call_logs_stats_by_model,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 16 |     update_call_log,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 17 |     delete_call_log,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 18 |     delete_call_logs_by_model,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 19 |     delete_old_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     count_call_logs,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 21 |     count_call_logs_by_model
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `get_active_key_count`, `get_api_key_round_robin`, `get_round_robin_counter`, `reload_provider_api_keys`, and `reset_round_robin_counter`
[INFO] [stdout]   --> src/llm_api/utils/mod.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 |     get_api_key_round_robin,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 12 |     reload_provider_api_keys,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 13 |     reset_round_robin_counter,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 14 |     get_round_robin_counter,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 15 |     get_active_key_count
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `warn`
[INFO] [stdout]  --> src/main.rs:8:28
[INFO] [stdout]   |
[INFO] [stdout] 8 | use tracing::{info, error, warn, debug};
[INFO] [stdout]   |                            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::llm_api::ollama::client`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::llm_api::ollama::client;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_or_load` and `invalidate` are never used
[INFO] [stdout]   --> src/dao/cache/cache.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | / impl<K, V> CacheService<K, V>
[INFO] [stdout] 11 | | where
[INFO] [stdout] 12 | |     K: std::hash::Hash + Eq + Clone + Send + Sync + 'static,
[INFO] [stdout] 13 | |     V: Clone + Send + Sync + 'static,
[INFO] [stdout]    | |_____________________________________- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |       pub async fn get_or_load<F, Fut>(&self, key: K, loader: F) -> V
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |       pub async fn invalidate(&self, key: &K) {
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_model` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub async fn create_model(pool: &SqlitePool, model: &Model) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_by_id` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub async fn get_model_by_id(pool: &SqlitePool, id: &str) -> Result<Option<Model>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_by_provider_and_name` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub async fn get_model_by_provider_and_name(pool: &SqlitePool, provider: &str, name: &str) -> Result<Option<Model>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_model` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub async fn update_model(pool: &SqlitePool, model: &Model) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_model` is never used
[INFO] [stdout]    --> src/dao/model/model.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub async fn delete_model(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_from_cache` is never used
[INFO] [stdout]   --> src/dao/model/preload.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub async fn get_model_from_cache(provider: &str, name: &str) -> Option<Model> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_model_to_cache` is never used
[INFO] [stdout]   --> src/dao/model/preload.rs:67:14
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub async fn insert_model_to_cache(model: &Model) -> Result<()> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Provider` is never constructed
[INFO] [stdout]  --> src/dao/provider/provider.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Provider {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn create_provider(pool: &SqlitePool, provider: &Provider) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider_by_id` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub async fn get_provider_by_id(pool: &SqlitePool, id: &str) -> Result<Option<Provider>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider_by_name` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub async fn get_provider_by_name(pool: &SqlitePool, name: &str) -> Result<Option<Provider>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_providers` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub async fn get_all_providers(pool: &SqlitePool) -> Result<Vec<Provider>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub async fn update_provider(pool: &SqlitePool, id: &str, provider: &Provider) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:78:14
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub async fn delete_provider(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hard_delete_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:87:14
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub async fn hard_delete_provider(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_models_for_provider` is never used
[INFO] [stdout]    --> src/dao/provider/provider.rs:103:14
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub async fn count_models_for_provider(pool: &SqlitePool, provider_id: &str) -> Result<i64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider_key_pool` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub async fn create_provider_key_pool(pool: &SqlitePool, key_pool: &ProviderKeyPool) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider_key_pool_by_id` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn get_provider_key_pool_by_id(pool: &SqlitePool, id: &str) -> Result<Option<ProviderKeyPool>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_provider_key_pools_by_provider` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn list_provider_key_pools_by_provider(pool: &SqlitePool, provider: &str) -> Result<Vec<ProviderKeyPool>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_active_provider_key_pools` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub async fn list_active_provider_key_pools(pool: &SqlitePool) -> Result<Vec<ProviderKeyPool>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_provider_key_pool` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub async fn update_provider_key_pool(pool: &SqlitePool, key_pool: &ProviderKeyPool) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_key_pool_usage` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub async fn update_key_pool_usage(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_provider_key_pool` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:119:14
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub async fn delete_provider_key_pool(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `toggle_provider_key_pool_active` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:128:14
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub async fn toggle_provider_key_pool_active(pool: &SqlitePool, id: &str, is_active: bool) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider_key_pool_from_raw_key` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:152:14
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub async fn create_provider_key_pool_from_raw_key(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_provider_key_pool_to_cache` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:167:14
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub async fn insert_provider_key_pool_to_cache(key_pool: &ProviderKeyPool) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_cached_provider_key_pool_to_cache` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:185:14
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub async fn insert_cached_provider_key_pool_to_cache(cached_key_pool: &CachedProviderKeyPool) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_api_key_round_robin` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:209:14
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub async fn get_api_key_round_robin(provider: &str) -> Option<(String, String)> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reload_provider_api_keys` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:267:14
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub async fn reload_provider_api_keys(pool: &SqlitePool, provider: &str) -> anyhow::Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reset_round_robin_counter` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:303:14
[INFO] [stdout]     |
[INFO] [stdout] 303 | pub async fn reset_round_robin_counter(provider: &str) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_round_robin_counter` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:318:14
[INFO] [stdout]     |
[INFO] [stdout] 318 | pub async fn get_round_robin_counter(provider: &str) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_active_key_count` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:332:14
[INFO] [stdout]     |
[INFO] [stdout] 332 | pub async fn get_active_key_count(provider: &str) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `generate_key_hash` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/crypto.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn generate_key_hash(api_key: &str) -> String {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `encrypt_api_key` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/crypto.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn encrypt_api_key(api_key: &str) -> Result<String> {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `process_api_key` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/crypto.rs:100:8
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub fn process_api_key(api_key: &str) -> Result<(String, String)> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_key_integrity` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/crypto.rs:114:8
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub fn verify_key_integrity(decrypted_key: &str, stored_hash: &str) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_system_config` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn create_system_config(pool: &SqlitePool, config: &SystemConfig) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_system_config_by_id` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub async fn get_system_config_by_id(pool: &SqlitePool, id: &str) -> Result<Option<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_system_config_by_key` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub async fn get_system_config_by_key(pool: &SqlitePool, category: &str, key_name: &str) -> Result<Option<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_system_configs` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub async fn list_system_configs(pool: &SqlitePool) -> Result<Vec<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_system_configs_by_category` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub async fn list_system_configs_by_category(pool: &SqlitePool, category: &str) -> Result<Vec<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_encrypted_system_configs` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub async fn list_encrypted_system_configs(pool: &SqlitePool) -> Result<Vec<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_system_config` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:79:14
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub async fn update_system_config(pool: &SqlitePool, config: &SystemConfig) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_system_config_value` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:101:14
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub async fn update_system_config_value(pool: &SqlitePool, category: &str, key_name: &str, value: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_system_config_encryption` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub async fn update_system_config_encryption(pool: &SqlitePool, id: &str, is_encrypted: bool, encrypted_value: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_system_config` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:136:14
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub async fn delete_system_config(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_system_configs_by_category` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:145:14
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub async fn delete_system_configs_by_category(pool: &SqlitePool, category: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `system_config_exists` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:154:14
[INFO] [stdout]     |
[INFO] [stdout] 154 | pub async fn system_config_exists(pool: &SqlitePool, category: &str, key_name: &str) -> Result<bool> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_system_config_value` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:164:14
[INFO] [stdout]     |
[INFO] [stdout] 164 | pub async fn get_system_config_value(pool: &SqlitePool, category: &str, key_name: &str) -> Result<Option<String>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_call_log` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn create_call_log(pool: &SqlitePool, call_log: &CallLog) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_call_log_by_id` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub async fn get_call_log_by_id(pool: &SqlitePool, id: &str) -> Result<Option<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub async fn list_call_logs(pool: &SqlitePool) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_paginated` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub async fn list_call_logs_paginated(pool: &SqlitePool, limit: i64, offset: i64) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_by_model` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub async fn list_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_by_status` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub async fn list_call_logs_by_status(pool: &SqlitePool, status_code: i64) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_error_call_logs` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:80:14
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub async fn list_error_call_logs(pool: &SqlitePool) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_by_date_range` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub async fn list_call_logs_by_date_range(pool: &SqlitePool, start_date: &str, end_date: &str) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_call_logs_stats` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:100:14
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub async fn get_call_logs_stats(pool: &SqlitePool) -> Result<CallLogStats> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_call_logs_stats_by_model` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:117:14
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub async fn get_call_logs_stats_by_model(pool: &SqlitePool, model_id: &str) -> Result<CallLogStats> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_call_log` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:135:14
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub async fn update_call_log(pool: &SqlitePool, call_log: &CallLog) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_call_log` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:157:14
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub async fn delete_call_log(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_or_load` and `invalidate` are never used
[INFO] [stdout]   --> src/dao/cache/cache.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | / impl<K, V> CacheService<K, V>
[INFO] [stdout] 11 | | where
[INFO] [stdout] 12 | |     K: std::hash::Hash + Eq + Clone + Send + Sync + 'static,
[INFO] [stdout] 13 | |     V: Clone + Send + Sync + 'static,
[INFO] [stdout]    | |_____________________________________- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |       pub async fn get_or_load<F, Fut>(&self, key: K, loader: F) -> V
[INFO] [stdout]    |                    ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |       pub async fn invalidate(&self, key: &K) {
[INFO] [stdout]    |                    ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_model` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:25:14
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub async fn create_model(pool: &SqlitePool, model: &Model) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_by_id` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:51:14
[INFO] [stdout]    |
[INFO] [stdout] 51 | pub async fn get_model_by_id(pool: &SqlitePool, id: &str) -> Result<Option<Model>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_by_provider_and_name` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:59:14
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub async fn get_model_by_provider_and_name(pool: &SqlitePool, provider: &str, name: &str) -> Result<Option<Model>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_model` is never used
[INFO] [stdout]   --> src/dao/model/model.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub async fn update_model(pool: &SqlitePool, model: &Model) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_model` is never used
[INFO] [stdout]    --> src/dao/model/model.rs:114:14
[INFO] [stdout]     |
[INFO] [stdout] 114 | pub async fn delete_model(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_from_cache` is never used
[INFO] [stdout]   --> src/dao/model/preload.rs:45:14
[INFO] [stdout]    |
[INFO] [stdout] 45 | pub async fn get_model_from_cache(provider: &str, name: &str) -> Option<Model> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_model_to_cache` is never used
[INFO] [stdout]   --> src/dao/model/preload.rs:67:14
[INFO] [stdout]    |
[INFO] [stdout] 67 | pub async fn insert_model_to_cache(model: &Model) -> Result<()> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Provider` is never constructed
[INFO] [stdout]  --> src/dao/provider/provider.rs:5:12
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub struct Provider {
[INFO] [stdout]   |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn create_provider(pool: &SqlitePool, provider: &Provider) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider_by_id` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub async fn get_provider_by_id(pool: &SqlitePool, id: &str) -> Result<Option<Provider>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider_by_name` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub async fn get_provider_by_name(pool: &SqlitePool, name: &str) -> Result<Option<Provider>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_all_providers` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:53:14
[INFO] [stdout]    |
[INFO] [stdout] 53 | pub async fn get_all_providers(pool: &SqlitePool) -> Result<Vec<Provider>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:61:14
[INFO] [stdout]    |
[INFO] [stdout] 61 | pub async fn update_provider(pool: &SqlitePool, id: &str, provider: &Provider) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:78:14
[INFO] [stdout]    |
[INFO] [stdout] 78 | pub async fn delete_provider(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hard_delete_provider` is never used
[INFO] [stdout]   --> src/dao/provider/provider.rs:87:14
[INFO] [stdout]    |
[INFO] [stdout] 87 | pub async fn hard_delete_provider(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_models_for_provider` is never used
[INFO] [stdout]    --> src/dao/provider/provider.rs:103:14
[INFO] [stdout]     |
[INFO] [stdout] 103 | pub async fn count_models_for_provider(pool: &SqlitePool, provider_id: &str) -> Result<i64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider_key_pool` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:21:14
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub async fn create_provider_key_pool(pool: &SqlitePool, key_pool: &ProviderKeyPool) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_provider_key_pool_by_id` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:43:14
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub async fn get_provider_key_pool_by_id(pool: &SqlitePool, id: &str) -> Result<Option<ProviderKeyPool>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_provider_key_pools_by_provider` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:60:14
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub async fn list_provider_key_pools_by_provider(pool: &SqlitePool, provider: &str) -> Result<Vec<ProviderKeyPool>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_active_provider_key_pools` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:69:14
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub async fn list_active_provider_key_pools(pool: &SqlitePool) -> Result<Vec<ProviderKeyPool>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_provider_key_pool` is never used
[INFO] [stdout]   --> src/dao/provider_key_pool/provider_key_pool.rs:77:14
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub async fn update_provider_key_pool(pool: &SqlitePool, key_pool: &ProviderKeyPool) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_key_pool_usage` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:105:14
[INFO] [stdout]     |
[INFO] [stdout] 105 | pub async fn update_key_pool_usage(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_provider_key_pool` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:119:14
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub async fn delete_provider_key_pool(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `toggle_provider_key_pool_active` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:128:14
[INFO] [stdout]     |
[INFO] [stdout] 128 | pub async fn toggle_provider_key_pool_active(pool: &SqlitePool, id: &str, is_active: bool) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_provider_key_pool_from_raw_key` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/provider_key_pool.rs:152:14
[INFO] [stdout]     |
[INFO] [stdout] 152 | pub async fn create_provider_key_pool_from_raw_key(
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_provider_key_pool_to_cache` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:167:14
[INFO] [stdout]     |
[INFO] [stdout] 167 | pub async fn insert_provider_key_pool_to_cache(key_pool: &ProviderKeyPool) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `insert_cached_provider_key_pool_to_cache` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:185:14
[INFO] [stdout]     |
[INFO] [stdout] 185 | pub async fn insert_cached_provider_key_pool_to_cache(cached_key_pool: &CachedProviderKeyPool) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_api_key_round_robin` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:209:14
[INFO] [stdout]     |
[INFO] [stdout] 209 | pub async fn get_api_key_round_robin(provider: &str) -> Option<(String, String)> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reload_provider_api_keys` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:267:14
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub async fn reload_provider_api_keys(pool: &SqlitePool, provider: &str) -> anyhow::Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `reset_round_robin_counter` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:303:14
[INFO] [stdout]     |
[INFO] [stdout] 303 | pub async fn reset_round_robin_counter(provider: &str) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_round_robin_counter` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:318:14
[INFO] [stdout]     |
[INFO] [stdout] 318 | pub async fn get_round_robin_counter(provider: &str) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_active_key_count` is never used
[INFO] [stdout]    --> src/dao/provider_key_pool/preload.rs:332:14
[INFO] [stdout]     |
[INFO] [stdout] 332 | pub async fn get_active_key_count(provider: &str) -> usize {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_system_config` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn create_system_config(pool: &SqlitePool, config: &SystemConfig) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_system_config_by_id` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub async fn get_system_config_by_id(pool: &SqlitePool, id: &str) -> Result<Option<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_system_config_by_key` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub async fn get_system_config_by_key(pool: &SqlitePool, category: &str, key_name: &str) -> Result<Option<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_system_configs` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:54:14
[INFO] [stdout]    |
[INFO] [stdout] 54 | pub async fn list_system_configs(pool: &SqlitePool) -> Result<Vec<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_system_configs_by_category` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub async fn list_system_configs_by_category(pool: &SqlitePool, category: &str) -> Result<Vec<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_encrypted_system_configs` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub async fn list_encrypted_system_configs(pool: &SqlitePool) -> Result<Vec<SystemConfig>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_system_config` is never used
[INFO] [stdout]   --> src/dao/system_config/system_config.rs:79:14
[INFO] [stdout]    |
[INFO] [stdout] 79 | pub async fn update_system_config(pool: &SqlitePool, config: &SystemConfig) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_system_config_value` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:101:14
[INFO] [stdout]     |
[INFO] [stdout] 101 | pub async fn update_system_config_value(pool: &SqlitePool, category: &str, key_name: &str, value: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_system_config_encryption` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:118:14
[INFO] [stdout]     |
[INFO] [stdout] 118 | pub async fn update_system_config_encryption(pool: &SqlitePool, id: &str, is_encrypted: bool, encrypted_value: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_system_config` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:136:14
[INFO] [stdout]     |
[INFO] [stdout] 136 | pub async fn delete_system_config(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_system_configs_by_category` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:145:14
[INFO] [stdout]     |
[INFO] [stdout] 145 | pub async fn delete_system_configs_by_category(pool: &SqlitePool, category: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `system_config_exists` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:154:14
[INFO] [stdout]     |
[INFO] [stdout] 154 | pub async fn system_config_exists(pool: &SqlitePool, category: &str, key_name: &str) -> Result<bool> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_system_config_value` is never used
[INFO] [stdout]    --> src/dao/system_config/system_config.rs:164:14
[INFO] [stdout]     |
[INFO] [stdout] 164 | pub async fn get_system_config_value(pool: &SqlitePool, category: &str, key_name: &str) -> Result<Option<String>> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `create_call_log` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 | pub async fn create_call_log(pool: &SqlitePool, call_log: &CallLog) -> Result<u64> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_call_log_by_id` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:35:14
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub async fn get_call_log_by_id(pool: &SqlitePool, id: &str) -> Result<Option<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:44:14
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub async fn list_call_logs(pool: &SqlitePool) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_paginated` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:52:14
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub async fn list_call_logs_paginated(pool: &SqlitePool, limit: i64, offset: i64) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_by_model` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:62:14
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub async fn list_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_by_status` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:71:14
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub async fn list_call_logs_by_status(pool: &SqlitePool, status_code: i64) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_error_call_logs` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:80:14
[INFO] [stdout]    |
[INFO] [stdout] 80 | pub async fn list_error_call_logs(pool: &SqlitePool) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_call_logs_by_model` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:166:14
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub async fn delete_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `list_call_logs_by_date_range` is never used
[INFO] [stdout]   --> src/dao/call_log/call_log.rs:88:14
[INFO] [stdout]    |
[INFO] [stdout] 88 | pub async fn list_call_logs_by_date_range(pool: &SqlitePool, start_date: &str, end_date: &str) -> Result<Vec<CallLog>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_call_logs_stats` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:100:14
[INFO] [stdout]     |
[INFO] [stdout] 100 | pub async fn get_call_logs_stats(pool: &SqlitePool) -> Result<CallLogStats> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_call_logs_stats_by_model` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:117:14
[INFO] [stdout]     |
[INFO] [stdout] 117 | pub async fn get_call_logs_stats_by_model(pool: &SqlitePool, model_id: &str) -> Result<CallLogStats> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `update_call_log` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:135:14
[INFO] [stdout]     |
[INFO] [stdout] 135 | pub async fn update_call_log(pool: &SqlitePool, call_log: &CallLog) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_call_log` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:157:14
[INFO] [stdout]     |
[INFO] [stdout] 157 | pub async fn delete_call_log(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_call_logs_by_model` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:166:14
[INFO] [stdout]     |
[INFO] [stdout] 166 | pub async fn delete_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_old_call_logs` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub async fn delete_old_call_logs(pool: &SqlitePool, before_date: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_call_logs` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:184:14
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub async fn count_call_logs(pool: &SqlitePool) -> Result<i64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_call_logs_by_model` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub async fn count_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<i64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CallLogStats` is never constructed
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:202:12
[INFO] [stdout]     |
[INFO] [stdout] 202 | pub struct CallLogStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_api_key_with_cache` is never used
[INFO] [stdout]   --> src/llm_api/utils/api_key_check.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub async fn get_api_key_with_cache(provider: &str, id: &str) -> Result<Option<String>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_with_cache` is never used
[INFO] [stdout]   --> src/llm_api/utils/model_check.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn get_model_with_cache(provider: &str, name: &str) -> Result<Option<Model>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `assistant`, `tool`, `with_images`, `with_thinking`, and `with_tool_calls` are never used
[INFO] [stdout]    --> src/llm_api/utils/msg_structure.rs:81:12
[INFO] [stdout]     |
[INFO] [stdout]  55 | impl Message {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn assistant(content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn tool(content: String, tool_name: String) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn with_images(mut self, images: Vec<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn with_thinking(mut self, thinking: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn with_tool_calls(mut self, tool_calls: Vec<ToolCall>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tool` is never constructed
[INFO] [stdout]  --> src/llm_api/utils/tool_structure.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Tool {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToolFunction` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/tool_structure.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct ToolFunction {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]   --> src/llm_api/utils/chat_traits.rs:20:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait ChatRequestTrait {
[INFO] [stdout]    |           ---------------- methods in this trait
[INFO] [stdout] ...
[INFO] [stdout] 20 |     fn get_messages(&self) -> Vec<Message>;
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 23 |     fn set_messages(&mut self, messages: Vec<Message>);
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 26 |     fn add_message(&mut self, message: Message);
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     fn is_stream(&self) -> Option<bool> {
[INFO] [stdout]    |        ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 37 |     fn set_stream(&mut self, stream: bool);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 45 |     fn set_options(&mut self, options: HashMap<String, Value>);
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 48 |     fn get_format(&self) -> Option<String> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 53 |     fn set_format(&mut self, format: String);
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ChatResponseTrait` is never used
[INFO] [stdout]   --> src/llm_api/utils/chat_traits.rs:71:11
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub trait ChatResponseTrait {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerformanceSummary` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub struct PerformanceSummary {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `empty`, `has_data`, and `format` are never used
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl PerformanceSummary {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 142 |     /// 创建空的性能摘要
[INFO] [stdout] 143 |     pub fn empty() -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn has_data(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub fn format(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ChatClientTrait` is never used
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:192:11
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub trait ChatClientTrait {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatRequestBuilder` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:213:12
[INFO] [stdout]     |
[INFO] [stdout] 213 | pub struct ChatRequestBuilder {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 221 | impl ChatRequestBuilder {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 222 |     /// 创建新的构建器
[INFO] [stdout] 223 |     pub fn new(model: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 234 |     pub fn messages(mut self, messages: Vec<Message>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn add_message(mut self, message: Message) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn system(mut self, content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn user(mut self, content: String) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     pub fn assistant(mut self, content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     pub fn stream(mut self, stream: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     pub fn options(mut self, options: HashMap<String, Value>) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub fn format(mut self, format: String) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 282 |     pub fn build_fields(self) -> (String, Vec<Message>, Option<bool>, Option<HashMap<String, Value>>, Option<String>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `read_timeout` is never read
[INFO] [stdout]   --> src/llm_api/utils/client.rs:29:9
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct TimeoutConfig {
[INFO] [stdout]    |            ------------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 29 |     pub read_timeout: Option<Duration>,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `TimeoutConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_request_timeout`, and `with_connect_timeout` are never used
[INFO] [stdout]   --> src/llm_api/utils/client.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl TimeoutConfig {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 43 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn with_request_timeout(mut self, timeout: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn with_connect_timeout(mut self, timeout: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `max_attempts`, `base_delay`, `max_delay`, and `exponential_backoff` are never read
[INFO] [stdout]   --> src/llm_api/utils/client.rs:64:9
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct RetryConfig {
[INFO] [stdout]    |            ----------- fields in this struct
[INFO] [stdout] 63 |     /// 最大重试次数
[INFO] [stdout] 64 |     pub max_attempts: u32,
[INFO] [stdout]    |         ^^^^^^^^^^^^
[INFO] [stdout] 65 |     /// 基础延迟时间
[INFO] [stdout] 66 |     pub base_delay: Duration,
[INFO] [stdout]    |         ^^^^^^^^^^
[INFO] [stdout] 67 |     /// 最大延迟时间
[INFO] [stdout] 68 |     pub max_delay: Duration,
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 69 |     /// 是否启用指数退避
[INFO] [stdout] 70 |     pub exponential_backoff: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `RetryConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `delete_old_call_logs` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:175:14
[INFO] [stdout]     |
[INFO] [stdout] 175 | pub async fn delete_old_call_logs(pool: &SqlitePool, before_date: &str) -> Result<u64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_max_attempts`, and `with_base_delay` are never used
[INFO] [stdout]   --> src/llm_api/utils/client.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl RetryConfig {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 85 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn with_max_attempts(mut self, attempts: u32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn with_base_delay(mut self, delay: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `retry` is never read
[INFO] [stdout]    --> src/llm_api/utils/client.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct ClientConfig {
[INFO] [stdout]     |            ------------ field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 108 |     pub retry: RetryConfig,
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClientConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_timeout`, `with_retry`, and `with_user_agent` are never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:131:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | impl ClientConfig {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn with_timeout(mut self, timeout: TimeoutConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn with_retry(mut self, retry: RetryConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn with_user_agent(mut self, user_agent: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Timeout`, `RetryExhausted`, `LLMApi`, and `Internal` are never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:158:5
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub enum ClientError {
[INFO] [stdout]     |          ----------- variants in this enum
[INFO] [stdout] 157 |     /// 请求超时
[INFO] [stdout] 158 |     Timeout { duration: Duration },
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 162 |     RetryExhausted { attempts: u32, last_error: String },
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 166 |     LLMApi { message: String, status_code: Option<u16> },
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 170 |     Internal { message: String },
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestContext` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:207:12
[INFO] [stdout]     |
[INFO] [stdout] 207 | pub struct RequestContext {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_call_logs` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:184:14
[INFO] [stdout]     |
[INFO] [stdout] 184 | pub async fn count_call_logs(pool: &SqlitePool) -> Result<i64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 230 | impl RequestContext {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 231 |     /// 创建新的请求上下文
[INFO] [stdout] 232 |     pub fn new(url: &str, max_attempts: u32, is_stream: bool) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     pub fn set_model_id(&mut self, model_id: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 254 |     pub fn add_tokens(&mut self, tokens: i64) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |     pub fn start_retry(&mut self, reason: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     pub fn total_elapsed(&self) -> Duration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     pub fn attempt_elapsed(&self) -> Duration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub fn is_final_attempt(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple fields are never read
[INFO] [stdout]    --> src/llm_api/utils/client.rs:285:9
[INFO] [stdout]     |
[INFO] [stdout] 283 | pub struct ClientMetrics {
[INFO] [stdout]     |            ------------- fields in this struct
[INFO] [stdout] 284 |     /// 总请求数
[INFO] [stdout] 285 |     pub total_requests: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout] 286 |     /// 成功请求数
[INFO] [stdout] 287 |     pub successful_requests: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 288 |     /// 失败请求数
[INFO] [stdout] 289 |     pub failed_requests: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^
[INFO] [stdout] 290 |     /// 重试次数
[INFO] [stdout] 291 |     pub retry_count: u64,
[INFO] [stdout]     |         ^^^^^^^^^^^
[INFO] [stdout] 292 |     /// 平均响应时间
[INFO] [stdout] 293 |     pub avg_response_time: Duration,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 294 |     /// 最长响应时间
[INFO] [stdout] 295 |     pub max_response_time: Duration,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 296 |     /// 最短响应时间
[INFO] [stdout] 297 |     pub min_response_time: Duration,
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `ClientMetrics` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `client`, `config`, and `metrics` are never read
[INFO] [stdout]    --> src/llm_api/utils/client.rs:306:5
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct BaseClient {
[INFO] [stdout]     |            ---------- fields in this struct
[INFO] [stdout] 305 |     /// HTTP 客户端
[INFO] [stdout] 306 |     client: HttpClient,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 307 |     /// 客户端配置
[INFO] [stdout] 308 |     config: ClientConfig,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 309 |     /// 监控指标
[INFO] [stdout] 310 |     metrics: Arc<Mutex<ClientMetrics>>,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `BaseClient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:355:12
[INFO] [stdout]     |
[INFO] [stdout] 313 | impl BaseClient {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 355 |     pub fn new_default() -> Result<Self, ClientError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |     pub fn http_client(&self) -> &HttpClient {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 367 |     pub fn config(&self) -> &ClientConfig {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 372 |     pub fn metrics(&self) -> ClientMetrics {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 377 |     pub async fn post<T>(&self, url: &str, body: T) -> Result<Response, ClientError>
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 515 |     pub async fn post_stream<T, F>(&self, url: &str, body: T, mut callback: F) -> Result<(), ClientError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 724 |     fn calculate_backoff_delay(&self, attempt: u32) -> Duration {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 739 |     fn should_retry(&self, error: &ClientError, _attempt: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 754 |     fn update_success_metrics(&self, response_time: Duration) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 780 |     fn update_failure_metrics(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 788 |     fn log_request_start(&self, ctx: &RequestContext) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 799 |     fn log_retry_attempt(&self, ctx: &RequestContext, delay: Duration) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 813 |     fn log_request_success(&self, ctx: &RequestContext) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 825 |     fn log_request_failure(&self, ctx: &RequestContext, error: &ClientError) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 838 |     fn log_network_error(&self, ctx: &RequestContext, error: &reqwest::Error) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 859 |     fn log_timeout_error(&self, ctx: &RequestContext, timeout_duration: Duration) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 872 |     fn log_api_error(&self, ctx: &RequestContext, message: &str, status_code: Option<u16>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 885 |     fn log_retry_exhausted(&self, ctx: &RequestContext, final_error: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 898 |     async fn create_call_record(&self, ctx: &RequestContext, status_code: i64, error_message: Option<String>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LLMClientTrait` is never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:942:11
[INFO] [stdout]     |
[INFO] [stdout] 942 | pub trait LLMClientTrait {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `semaphore` and `current_index` are never read
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ClientPool<T> {
[INFO] [stdout]    |            ---------- fields in this struct
[INFO] [stdout] 16 |     clients: Vec<Arc<Mutex<T>>>,
[INFO] [stdout] 17 |     semaphore: Arc<Semaphore>,
[INFO] [stdout]    |     ^^^^^^^^^
[INFO] [stdout] 18 |     current_index: std::sync::atomic::AtomicUsize,
[INFO] [stdout]    |     ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `acquire` is never used
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:32:18
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<T> ClientPool<T> {
[INFO] [stdout]    | --------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub async fn acquire(&self) -> ClientGuard<T> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientGuard` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct ClientGuard<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `lock` is never used
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:56:18
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl<T> ClientGuard<T> {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `base_client` and `base_url` are never read
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:63:5
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct DynamicAliClient {
[INFO] [stdout]    |            ---------------- fields in this struct
[INFO] [stdout] 63 |     base_client: BaseClient,
[INFO] [stdout]    |     ^^^^^^^^^^^
[INFO] [stdout] 64 |     base_url: String,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `chat_with_auto_key` and `chat_stream_with_auto_key` are never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:81:18
[INFO] [stdout]     |
[INFO] [stdout]  67 | impl DynamicAliClient {
[INFO] [stdout]     | --------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub async fn chat_with_auto_key(&self, request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub async fn chat_stream_with_auto_key<F>(&self, request: AliChatRequest, callback: F) -> Result<(), AliError>
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GlobalAliClientPool` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub struct GlobalAliClientPool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `init`, `chat`, `chat_stream`, and `size` are never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:169:18
[INFO] [stdout]     |
[INFO] [stdout] 167 | impl GlobalAliClientPool {
[INFO] [stdout]     | ------------------------ associated items in this implementation
[INFO] [stdout] 168 |     /// 初始化全局客户端池
[INFO] [stdout] 169 |     pub async fn init(pool_size: usize) -> Result<Self> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub async fn chat(&self, request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub async fn chat_stream<F>(&self, request: AliChatRequest, callback: F) -> Result<(), AliError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub fn size(&self) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GLOBAL_ALI_POOL` is never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 217 | static GLOBAL_ALI_POOL: OnceCell<GlobalAliClientPool> = OnceCell::const_new();
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_ali_client_pool` is never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:220:14
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub async fn init_ali_client_pool(pool_size: usize) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ali_client_pool` is never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:228:14
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub async fn get_ali_client_pool() -> Result<&'static GlobalAliClientPool> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `with_stop` and `with_incremental_output` are never used
[INFO] [stdout]   --> src/llm_api/ali/client.rs:89:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl AliChatRequest {
[INFO] [stdout]    | ------------------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn with_stop(mut self, stop: Vec<String>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn with_incremental_output(mut self, incremental: bool) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliUsage` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:245:12
[INFO] [stdout]     |
[INFO] [stdout] 245 | pub struct AliUsage {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliPromptTokensDetails` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:259:12
[INFO] [stdout]     |
[INFO] [stdout] 259 | pub struct AliPromptTokensDetails {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliChoice` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:267:12
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub struct AliChoice {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliChatResponse` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:281:12
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub struct AliChatResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliStreamResponse` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:331:12
[INFO] [stdout]     |
[INFO] [stdout] 331 | pub struct AliStreamResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliStreamChoice` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:349:12
[INFO] [stdout]     |
[INFO] [stdout] 349 | pub struct AliStreamChoice {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliDelta` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:361:12
[INFO] [stdout]     |
[INFO] [stdout] 361 | pub struct AliDelta {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AliError` is never used
[INFO] [stdout]    --> src/llm_api/ali/client.rs:372:10
[INFO] [stdout]     |
[INFO] [stdout] 372 | pub enum AliError {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `base_client`, `api_key`, and `base_url` are never read
[INFO] [stdout]    --> src/llm_api/ali/client.rs:417:5
[INFO] [stdout]     |
[INFO] [stdout] 415 | pub struct AliClient {
[INFO] [stdout]     |            --------- fields in this struct
[INFO] [stdout] 416 |     /// 基础 HTTP 客户端
[INFO] [stdout] 417 |     base_client: BaseClient,
[INFO] [stdout]     |     ^^^^^^^^^^^
[INFO] [stdout] 418 |     /// API Key
[INFO] [stdout] 419 |     api_key: String,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout] 420 |     /// API 基础 URL
[INFO] [stdout] 421 |     base_url: String,
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/ali/client.rs:429:12
[INFO] [stdout]     |
[INFO] [stdout] 424 | impl AliClient {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 429 |     pub fn new(api_key: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 434 |     pub fn new_with_base_url(api_key: String, base_url: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 443 |     pub fn new_with_config(api_key: String, base_url: String, mut config: ClientConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 459 |     pub fn new_with_client(api_key: String, base_url: String, mut config: ClientConfig, client: Client) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 475 |     pub async fn chat(&self, mut request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 508 |     pub async fn chat_stream<F>(&self, mut request: AliChatRequest, mut callback: F) -> Result<(), AliError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 554 |     pub fn api_key(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 559 |     pub fn base_url(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaChatRequest` is never constructed
[INFO] [stdout]   --> src/llm_api/ollama/client.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct OllamaChatRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_tools`, and `add_tool` are never used
[INFO] [stdout]   --> src/llm_api/ollama/client.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl OllamaChatRequest {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout] 43 |     /// 创建新的聊天请求
[INFO] [stdout] 44 |     pub fn new(model: String, messages: Vec<Message>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn with_tools(mut self, tools: Vec<Tool>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn add_tool(mut self, tool: Tool) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaChatResponse` is never constructed
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct OllamaChatResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OllamaError` is never used
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:182:10
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub enum OllamaError {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaClient` is never constructed
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 223 | pub struct OllamaClient {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 230 | impl OllamaClient {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 231 |     /// 创建新的 Ollama 客户端
[INFO] [stdout] 232 |     pub fn new(base_url: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     pub fn new_with_config(base_url: String, config: ClientConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub fn new_with_client(base_url: String, config: ClientConfig, client: Client) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub async fn chat(&self, mut request: OllamaChatRequest) -> Result<OllamaChatResponse, OllamaError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     pub async fn chat_stream<F>(&self, mut request: OllamaChatRequest, mut callback: F) -> Result<(), OllamaError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |     pub async fn list_models(&self) -> Result<Vec<String>, OllamaError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub async fn is_model_available(&self, model_name: &str) -> Result<bool, OllamaError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Provider` is never used
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum Provider {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `count_call_logs_by_model` is never used
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:192:14
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub async fn count_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<i64> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DispatchRequest` is never constructed
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct DispatchRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DispatchResponse` is never constructed
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct DispatchResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenUsage` is never constructed
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct TokenUsage {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LLMClientAdapter` is never used
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:77:11
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub trait LLMClientAdapter: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LLMError` is never used
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub enum LLMError {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaAdapter` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct OllamaAdapter {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl OllamaAdapter {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 134 |     pub fn new(client: OllamaClient) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliAdapter` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct AliAdapter {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:221:12
[INFO] [stdout]     |
[INFO] [stdout] 220 | impl AliAdapter {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 221 |     pub fn new(client: AliClient) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliPoolAdapter` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct AliPoolAdapter {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl AliPoolAdapter {
[INFO] [stdout]     | ------------------- associated function in this implementation
[INFO] [stdout] 232 |     pub fn new(pool: Arc<ClientPool<DynamicAliClient>>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LLMDispatcher` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:401:12
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub struct LLMDispatcher {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DispatchConfig` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:407:12
[INFO] [stdout]     |
[INFO] [stdout] 407 | pub struct DispatchConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:428:12
[INFO] [stdout]     |
[INFO] [stdout] 427 | impl LLMDispatcher {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 428 |     pub fn new(config: Option<DispatchConfig>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 436 |     pub async fn new_with_database(config: Option<DispatchConfig>, db_url: &str, init_sql_path: &str) -> Result<Self, Box<dyn std::...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 483 |     pub async fn register_ali_pool(&self, pool_size: usize) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 503 |     pub async fn register_client(&self, client: Box<dyn LLMClientAdapter>) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 510 |     pub async fn register_clients(&self, clients: Vec<Box<dyn LLMClientAdapter>>) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 517 |     pub async fn dispatch(&self, mut request: DispatchRequest) -> Result<DispatchResponse, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 537 |     pub async fn dispatch_stream(&self, mut request: DispatchRequest) -> Result<tokio::sync::mpsc::Receiver<Result<String, LLMError...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 549 |     pub async fn list_models(&self, provider: Option<Provider>) -> HashMap<Provider, Vec<String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 567 |     pub async fn is_provider_available(&self, provider: &Provider) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 573 |     async fn dispatch_internal(&self, request: &DispatchRequest) -> Result<DispatchResponse, LLMError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 604 |     async fn try_fallback(&self, mut request: DispatchRequest, original_error: LLMError) -> Result<DispatchResponse, LLMError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 621 |     fn apply_defaults(&self, request: &mut DispatchRequest) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 634 |     fn validate_request(&self, request: &DispatchRequest) -> Result<(), LLMError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_stream`, `with_temperature`, `with_max_tokens`, `with_top_p`, and `with_stop` are never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:655:12
[INFO] [stdout]     |
[INFO] [stdout] 654 | impl DispatchRequest {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 655 |     pub fn new(provider: Provider, model: String, messages: Vec<Message>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 673 |     pub fn with_stream(mut self, stream: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 678 |     pub fn with_temperature(mut self, temperature: f32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 683 |     pub fn with_max_tokens(mut self, max_tokens: u32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 688 |     pub fn with_top_p(mut self, top_p: f32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 693 |     pub fn with_stop(mut self, stop: Vec<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `json_format` is never read
[INFO] [stdout]   --> src/logger.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct LogConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub json_format: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LogConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `CallLogStats` is never constructed
[INFO] [stdout]    --> src/dao/call_log/call_log.rs:202:12
[INFO] [stdout]     |
[INFO] [stdout] 202 | pub struct CallLogStats {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_prod_logger` is never used
[INFO] [stdout]    --> src/logger.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub fn init_prod_logger() -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<'_, T> {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_api_key_with_cache` is never used
[INFO] [stdout]   --> src/llm_api/utils/api_key_check.rs:19:14
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub async fn get_api_key_with_cache(provider: &str, id: &str) -> Result<Option<String>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_model_with_cache` is never used
[INFO] [stdout]   --> src/llm_api/utils/model_check.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 | pub async fn get_model_with_cache(provider: &str, name: &str) -> Result<Option<Model>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToolCall` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/msg_structure.rs:11:12
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub struct ToolCall {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Message` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/msg_structure.rs:26:12
[INFO] [stdout]    |
[INFO] [stdout] 26 | pub struct Message {
[INFO] [stdout]    |            ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Function` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/msg_structure.rs:47:12
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct Function {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/msg_structure.rs:57:12
[INFO] [stdout]     |
[INFO] [stdout]  55 | impl Message {
[INFO] [stdout]     | ------------ associated items in this implementation
[INFO] [stdout]  56 |     /// 创建系统消息
[INFO] [stdout]  57 |     pub fn system(content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  69 |     pub fn user(content: String) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub fn assistant(content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn tool(content: String, tool_name: String) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 105 |     pub fn with_images(mut self, images: Vec<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 111 |     pub fn with_thinking(mut self, thinking: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 117 |     pub fn with_tool_calls(mut self, tool_calls: Vec<ToolCall>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Tool` is never constructed
[INFO] [stdout]  --> src/llm_api/utils/tool_structure.rs:7:12
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub struct Tool {
[INFO] [stdout]   |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ToolFunction` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/tool_structure.rs:19:12
[INFO] [stdout]    |
[INFO] [stdout] 19 | pub struct ToolFunction {
[INFO] [stdout]    |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ChatRequestTrait` is never used
[INFO] [stdout]   --> src/llm_api/utils/chat_traits.rs:15:11
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub trait ChatRequestTrait {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ChatResponseTrait` is never used
[INFO] [stdout]   --> src/llm_api/utils/chat_traits.rs:71:11
[INFO] [stdout]    |
[INFO] [stdout] 71 | pub trait ChatResponseTrait {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `PerformanceSummary` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 | pub struct PerformanceSummary {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `empty`, `has_data`, and `format` are never used
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:143:12
[INFO] [stdout]     |
[INFO] [stdout] 141 | impl PerformanceSummary {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 142 |     /// 创建空的性能摘要
[INFO] [stdout] 143 |     pub fn empty() -> Self {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 153 |     pub fn has_data(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |     pub fn format(&self) -> String {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `ChatClientTrait` is never used
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:192:11
[INFO] [stdout]     |
[INFO] [stdout] 192 | pub trait ChatClientTrait {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ChatRequestBuilder` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:213:12
[INFO] [stdout]     |
[INFO] [stdout] 213 | pub struct ChatRequestBuilder {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/chat_traits.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 221 | impl ChatRequestBuilder {
[INFO] [stdout]     | ----------------------- associated items in this implementation
[INFO] [stdout] 222 |     /// 创建新的构建器
[INFO] [stdout] 223 |     pub fn new(model: String) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 234 |     pub fn messages(mut self, messages: Vec<Message>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 240 |     pub fn add_message(mut self, message: Message) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 246 |     pub fn system(mut self, content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 252 |     pub fn user(mut self, content: String) -> Self {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 258 |     pub fn assistant(mut self, content: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 264 |     pub fn stream(mut self, stream: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 270 |     pub fn options(mut self, options: HashMap<String, Value>) -> Self {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub fn format(mut self, format: String) -> Self {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 282 |     pub fn build_fields(self) -> (String, Vec<Message>, Option<bool>, Option<HashMap<String, Value>>, Option<String>) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TimeoutConfig` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct TimeoutConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_request_timeout`, and `with_connect_timeout` are never used
[INFO] [stdout]   --> src/llm_api/utils/client.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl TimeoutConfig {
[INFO] [stdout]    | ------------------ associated items in this implementation
[INFO] [stdout] 43 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 47 |     pub fn with_request_timeout(mut self, timeout: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 52 |     pub fn with_connect_timeout(mut self, timeout: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RetryConfig` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct RetryConfig {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_max_attempts`, and `with_base_delay` are never used
[INFO] [stdout]   --> src/llm_api/utils/client.rs:85:12
[INFO] [stdout]    |
[INFO] [stdout] 84 | impl RetryConfig {
[INFO] [stdout]    | ---------------- associated items in this implementation
[INFO] [stdout] 85 |     pub fn new() -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn with_max_attempts(mut self, attempts: u32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     pub fn with_base_delay(mut self, delay: Duration) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientConfig` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:104:12
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub struct ClientConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_timeout`, `with_retry`, `add_header`, and `with_user_agent` are never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:127:12
[INFO] [stdout]     |
[INFO] [stdout] 126 | impl ClientConfig {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 127 |     pub fn new() -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 131 |     pub fn with_timeout(mut self, timeout: TimeoutConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 136 |     pub fn with_retry(mut self, retry: RetryConfig) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 141 |     pub fn add_header(mut self, key: String, value: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 146 |     pub fn with_user_agent(mut self, user_agent: String) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `ClientError` is never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:156:10
[INFO] [stdout]     |
[INFO] [stdout] 156 | pub enum ClientError {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `RequestContext` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:207:12
[INFO] [stdout]     |
[INFO] [stdout] 207 | pub struct RequestContext {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 230 | impl RequestContext {
[INFO] [stdout]     | ------------------- associated items in this implementation
[INFO] [stdout] 231 |     /// 创建新的请求上下文
[INFO] [stdout] 232 |     pub fn new(url: &str, max_attempts: u32, is_stream: bool) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 249 |     pub fn set_model_id(&mut self, model_id: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 254 |     pub fn add_tokens(&mut self, tokens: i64) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |     pub fn start_retry(&mut self, reason: String) {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 266 |     pub fn total_elapsed(&self) -> Duration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 271 |     pub fn attempt_elapsed(&self) -> Duration {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 276 |     pub fn is_final_attempt(&self) -> bool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientMetrics` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:283:12
[INFO] [stdout]     |
[INFO] [stdout] 283 | pub struct ClientMetrics {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `BaseClient` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client.rs:304:12
[INFO] [stdout]     |
[INFO] [stdout] 304 | pub struct BaseClient {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:315:12
[INFO] [stdout]     |
[INFO] [stdout] 313 | impl BaseClient {
[INFO] [stdout]     | --------------- associated items in this implementation
[INFO] [stdout] 314 |     /// 创建新的基础客户端
[INFO] [stdout] 315 |     pub fn new(config: ClientConfig) -> Result<Self, ClientError> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 320 |     pub fn new_with_client(config: ClientConfig, custom_client: Option<HttpClient>) -> Result<Self, ClientError> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 355 |     pub fn new_default() -> Result<Self, ClientError> {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 362 |     pub fn http_client(&self) -> &HttpClient {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 367 |     pub fn config(&self) -> &ClientConfig {
[INFO] [stdout]     |            ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 372 |     pub fn metrics(&self) -> ClientMetrics {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 377 |     pub async fn post<T>(&self, url: &str, body: T) -> Result<Response, ClientError>
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 515 |     pub async fn post_stream<T, F>(&self, url: &str, body: T, mut callback: F) -> Result<(), ClientError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 724 |     fn calculate_backoff_delay(&self, attempt: u32) -> Duration {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 739 |     fn should_retry(&self, error: &ClientError, _attempt: u32) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 754 |     fn update_success_metrics(&self, response_time: Duration) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 780 |     fn update_failure_metrics(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 788 |     fn log_request_start(&self, ctx: &RequestContext) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 799 |     fn log_retry_attempt(&self, ctx: &RequestContext, delay: Duration) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 813 |     fn log_request_success(&self, ctx: &RequestContext) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 825 |     fn log_request_failure(&self, ctx: &RequestContext, error: &ClientError) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 838 |     fn log_network_error(&self, ctx: &RequestContext, error: &reqwest::Error) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 859 |     fn log_timeout_error(&self, ctx: &RequestContext, timeout_duration: Duration) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 872 |     fn log_api_error(&self, ctx: &RequestContext, message: &str, status_code: Option<u16>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 885 |     fn log_retry_exhausted(&self, ctx: &RequestContext, final_error: &str) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 898 |     async fn create_call_record(&self, ctx: &RequestContext, status_code: i64, error_message: Option<String>) {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LLMClientTrait` is never used
[INFO] [stdout]    --> src/llm_api/utils/client.rs:942:11
[INFO] [stdout]     |
[INFO] [stdout] 942 | pub trait LLMClientTrait {
[INFO] [stdout]     |           ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientPool` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:15:12
[INFO] [stdout]    |
[INFO] [stdout] 15 | pub struct ClientPool<T> {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `acquire`, and `size` are never used
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 21 | impl<T> ClientPool<T> {
[INFO] [stdout]    | --------------------- associated items in this implementation
[INFO] [stdout] 22 |     pub fn new(clients: Vec<T>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 32 |     pub async fn acquire(&self) -> ClientGuard<T> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub fn size(&self) -> usize {
[INFO] [stdout]    |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `ClientGuard` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:50:12
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub struct ClientGuard<T> {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `lock` is never used
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:56:18
[INFO] [stdout]    |
[INFO] [stdout] 55 | impl<T> ClientGuard<T> {
[INFO] [stdout]    | ---------------------- method in this implementation
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stdout]    |                  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DynamicAliClient` is never constructed
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:62:12
[INFO] [stdout]    |
[INFO] [stdout] 62 | pub struct DynamicAliClient {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `chat_with_auto_key`, and `chat_stream_with_auto_key` are never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:68:12
[INFO] [stdout]     |
[INFO] [stdout]  67 | impl DynamicAliClient {
[INFO] [stdout]     | --------------------- associated items in this implementation
[INFO] [stdout]  68 |     pub fn new() -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout]  81 |     pub async fn chat_with_auto_key(&self, request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 128 |     pub async fn chat_stream_with_auto_key<F>(&self, request: AliChatRequest, callback: F) -> Result<(), AliError>
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GlobalAliClientPool` is never constructed
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:163:12
[INFO] [stdout]     |
[INFO] [stdout] 163 | pub struct GlobalAliClientPool {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `init`, `chat`, `chat_stream`, and `size` are never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:169:18
[INFO] [stdout]     |
[INFO] [stdout] 167 | impl GlobalAliClientPool {
[INFO] [stdout]     | ------------------------ associated items in this implementation
[INFO] [stdout] 168 |     /// 初始化全局客户端池
[INFO] [stdout] 169 |     pub async fn init(pool_size: usize) -> Result<Self> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 194 |     pub async fn chat(&self, request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 201 |     pub async fn chat_stream<F>(&self, request: AliChatRequest, callback: F) -> Result<(), AliError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 211 |     pub fn size(&self) -> usize {
[INFO] [stdout]     |            ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `GLOBAL_ALI_POOL` is never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:217:8
[INFO] [stdout]     |
[INFO] [stdout] 217 | static GLOBAL_ALI_POOL: OnceCell<GlobalAliClientPool> = OnceCell::const_new();
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_ali_client_pool` is never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:220:14
[INFO] [stdout]     |
[INFO] [stdout] 220 | pub async fn init_ali_client_pool(pool_size: usize) -> Result<()> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_ali_client_pool` is never used
[INFO] [stdout]    --> src/llm_api/utils/client_pool.rs:228:14
[INFO] [stdout]     |
[INFO] [stdout] 228 | pub async fn get_ali_client_pool() -> Result<&'static GlobalAliClientPool> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliChatRequest` is never constructed
[INFO] [stdout]   --> src/llm_api/ali/client.rs:22:12
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub struct AliChatRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_max_tokens`, `with_temperature`, `with_top_p`, `with_stop`, and `with_incremental_output` are never used
[INFO] [stdout]   --> src/llm_api/ali/client.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 53 | impl AliChatRequest {
[INFO] [stdout]    | ------------------- associated items in this implementation
[INFO] [stdout] 54 |     /// 创建新的聊天请求
[INFO] [stdout] 55 |     pub fn new(model: String, messages: Vec<Message>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 71 |     pub fn with_max_tokens(mut self, max_tokens: u32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 77 |     pub fn with_temperature(mut self, temperature: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     pub fn with_top_p(mut self, top_p: f32) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 89 |     pub fn with_stop(mut self, stop: Vec<String>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 95 |     pub fn with_incremental_output(mut self, incremental: bool) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliUsage` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:245:12
[INFO] [stdout]     |
[INFO] [stdout] 245 | pub struct AliUsage {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliPromptTokensDetails` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:259:12
[INFO] [stdout]     |
[INFO] [stdout] 259 | pub struct AliPromptTokensDetails {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliChoice` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:267:12
[INFO] [stdout]     |
[INFO] [stdout] 267 | pub struct AliChoice {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliChatResponse` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:281:12
[INFO] [stdout]     |
[INFO] [stdout] 281 | pub struct AliChatResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliStreamResponse` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:331:12
[INFO] [stdout]     |
[INFO] [stdout] 331 | pub struct AliStreamResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliStreamChoice` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:349:12
[INFO] [stdout]     |
[INFO] [stdout] 349 | pub struct AliStreamChoice {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliDelta` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:361:12
[INFO] [stdout]     |
[INFO] [stdout] 361 | pub struct AliDelta {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AliError` is never used
[INFO] [stdout]    --> src/llm_api/ali/client.rs:372:10
[INFO] [stdout]     |
[INFO] [stdout] 372 | pub enum AliError {
[INFO] [stdout]     |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliClient` is never constructed
[INFO] [stdout]    --> src/llm_api/ali/client.rs:415:12
[INFO] [stdout]     |
[INFO] [stdout] 415 | pub struct AliClient {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/ali/client.rs:426:15
[INFO] [stdout]     |
[INFO] [stdout] 424 | impl AliClient {
[INFO] [stdout]     | -------------- associated items in this implementation
[INFO] [stdout] 425 |     /// DashScope API 的默认基础 URL
[INFO] [stdout] 426 |     pub const DEFAULT_BASE_URL: &'static str = "https://dashscope.aliyuncs.com";
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 429 |     pub fn new(api_key: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 434 |     pub fn new_with_base_url(api_key: String, base_url: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 443 |     pub fn new_with_config(api_key: String, base_url: String, mut config: ClientConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 459 |     pub fn new_with_client(api_key: String, base_url: String, mut config: ClientConfig, client: Client) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 475 |     pub async fn chat(&self, mut request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 508 |     pub async fn chat_stream<F>(&self, mut request: AliChatRequest, mut callback: F) -> Result<(), AliError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 554 |     pub fn api_key(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 559 |     pub fn base_url(&self) -> &str {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaChatRequest` is never constructed
[INFO] [stdout]   --> src/llm_api/ollama/client.rs:23:12
[INFO] [stdout]    |
[INFO] [stdout] 23 | pub struct OllamaChatRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_tools`, and `add_tool` are never used
[INFO] [stdout]   --> src/llm_api/ollama/client.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 42 | impl OllamaChatRequest {
[INFO] [stdout]    | ---------------------- associated items in this implementation
[INFO] [stdout] 43 |     /// 创建新的聊天请求
[INFO] [stdout] 44 |     pub fn new(model: String, messages: Vec<Message>) -> Self {
[INFO] [stdout]    |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 56 |     pub fn with_tools(mut self, tools: Vec<Tool>) -> Self {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 62 |     pub fn add_tool(mut self, tool: Tool) -> Self {
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaChatResponse` is never constructed
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:119:12
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub struct OllamaChatResponse {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `OllamaError` is never used
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:182:10
[INFO] [stdout]     |
[INFO] [stdout] 182 | pub enum OllamaError {
[INFO] [stdout]     |          ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaClient` is never constructed
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:223:12
[INFO] [stdout]     |
[INFO] [stdout] 223 | pub struct OllamaClient {
[INFO] [stdout]     |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/ollama/client.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 230 | impl OllamaClient {
[INFO] [stdout]     | ----------------- associated items in this implementation
[INFO] [stdout] 231 |     /// 创建新的 Ollama 客户端
[INFO] [stdout] 232 |     pub fn new(base_url: String) -> Result<Self> {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 237 |     pub fn new_with_config(base_url: String, config: ClientConfig) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 247 |     pub fn new_with_client(base_url: String, config: ClientConfig, client: Client) -> Result<Self> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 257 |     pub async fn chat(&self, mut request: OllamaChatRequest) -> Result<OllamaChatResponse, OllamaError> {
[INFO] [stdout]     |                  ^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |     pub async fn chat_stream<F>(&self, mut request: OllamaChatRequest, mut callback: F) -> Result<(), OllamaError>
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 318 |     pub async fn list_models(&self) -> Result<Vec<String>, OllamaError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 347 |     pub async fn is_model_available(&self, model_name: &str) -> Result<bool, OllamaError> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Provider` is never used
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | pub enum Provider {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DispatchRequest` is never constructed
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:38:12
[INFO] [stdout]    |
[INFO] [stdout] 38 | pub struct DispatchRequest {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DispatchResponse` is never constructed
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:56:12
[INFO] [stdout]    |
[INFO] [stdout] 56 | pub struct DispatchResponse {
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TokenUsage` is never constructed
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:69:12
[INFO] [stdout]    |
[INFO] [stdout] 69 | pub struct TokenUsage {
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `LLMClientAdapter` is never used
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:77:11
[INFO] [stdout]    |
[INFO] [stdout] 77 | pub trait LLMClientAdapter: Send + Sync {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `LLMError` is never used
[INFO] [stdout]   --> src/llm_api/dispatcher.rs:86:10
[INFO] [stdout]    |
[INFO] [stdout] 86 | pub enum LLMError {
[INFO] [stdout]    |          ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `OllamaAdapter` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | pub struct OllamaAdapter {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:134:12
[INFO] [stdout]     |
[INFO] [stdout] 133 | impl OllamaAdapter {
[INFO] [stdout]     | ------------------ associated function in this implementation
[INFO] [stdout] 134 |     pub fn new(client: OllamaClient) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliAdapter` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:216:12
[INFO] [stdout]     |
[INFO] [stdout] 216 | pub struct AliAdapter {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:221:12
[INFO] [stdout]     |
[INFO] [stdout] 220 | impl AliAdapter {
[INFO] [stdout]     | --------------- associated function in this implementation
[INFO] [stdout] 221 |     pub fn new(client: AliClient) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `AliPoolAdapter` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:227:12
[INFO] [stdout]     |
[INFO] [stdout] 227 | pub struct AliPoolAdapter {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:232:12
[INFO] [stdout]     |
[INFO] [stdout] 231 | impl AliPoolAdapter {
[INFO] [stdout]     | ------------------- associated function in this implementation
[INFO] [stdout] 232 |     pub fn new(pool: Arc<ClientPool<DynamicAliClient>>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `LLMDispatcher` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:401:12
[INFO] [stdout]     |
[INFO] [stdout] 401 | pub struct LLMDispatcher {
[INFO] [stdout]     |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `DispatchConfig` is never constructed
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:407:12
[INFO] [stdout]     |
[INFO] [stdout] 407 | pub struct DispatchConfig {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:428:12
[INFO] [stdout]     |
[INFO] [stdout] 427 | impl LLMDispatcher {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] 428 |     pub fn new(config: Option<DispatchConfig>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 436 |     pub async fn new_with_database(config: Option<DispatchConfig>, db_url: &str, init_sql_path: &str) -> Result<Self, Box<dyn std::...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 483 |     pub async fn register_ali_pool(&self, pool_size: usize) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 503 |     pub async fn register_client(&self, client: Box<dyn LLMClientAdapter>) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 510 |     pub async fn register_clients(&self, clients: Vec<Box<dyn LLMClientAdapter>>) {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 517 |     pub async fn dispatch(&self, mut request: DispatchRequest) -> Result<DispatchResponse, LLMError> {
[INFO] [stdout]     |                  ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 537 |     pub async fn dispatch_stream(&self, mut request: DispatchRequest) -> Result<tokio::sync::mpsc::Receiver<Result<String, LLMError...
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 549 |     pub async fn list_models(&self, provider: Option<Provider>) -> HashMap<Provider, Vec<String>> {
[INFO] [stdout]     |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 567 |     pub async fn is_provider_available(&self, provider: &Provider) -> bool {
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 573 |     async fn dispatch_internal(&self, request: &DispatchRequest) -> Result<DispatchResponse, LLMError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 604 |     async fn try_fallback(&self, mut request: DispatchRequest, original_error: LLMError) -> Result<DispatchResponse, LLMError> {
[INFO] [stdout]     |              ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 621 |     fn apply_defaults(&self, request: &mut DispatchRequest) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 634 |     fn validate_request(&self, request: &DispatchRequest) -> Result<(), LLMError> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `new`, `with_stream`, `with_temperature`, `with_max_tokens`, `with_top_p`, and `with_stop` are never used
[INFO] [stdout]    --> src/llm_api/dispatcher.rs:655:12
[INFO] [stdout]     |
[INFO] [stdout] 654 | impl DispatchRequest {
[INFO] [stdout]     | -------------------- associated items in this implementation
[INFO] [stdout] 655 |     pub fn new(provider: Provider, model: String, messages: Vec<Message>) -> Self {
[INFO] [stdout]     |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 673 |     pub fn with_stream(mut self, stream: bool) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 678 |     pub fn with_temperature(mut self, temperature: f32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 683 |     pub fn with_max_tokens(mut self, max_tokens: u32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 688 |     pub fn with_top_p(mut self, top_p: f32) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 693 |     pub fn with_stop(mut self, stop: Vec<String>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `json_format` is never read
[INFO] [stdout]   --> src/logger.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 34 | pub struct LogConfig {
[INFO] [stdout]    |            --------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     pub json_format: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `LogConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `init_prod_logger` is never used
[INFO] [stdout]    --> src/logger.rs:131:8
[INFO] [stdout]     |
[INFO] [stdout] 131 | pub fn init_prod_logger() -> Result<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> src/llm_api/utils/client_pool.rs:56:23
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stdout]    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<'_, T> {
[INFO] [stdout]    |                                                         +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2m 50s
[INFO] running `Command { std: "docker" "inspect" "e34b0fff544ef6ba86b6aa24c71ed170ac2dc8773bc1c2586b70ce12cc80f134", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e34b0fff544ef6ba86b6aa24c71ed170ac2dc8773bc1c2586b70ce12cc80f134", kill_on_drop: false }`
[INFO] [stdout] e34b0fff544ef6ba86b6aa24c71ed170ac2dc8773bc1c2586b70ce12cc80f134
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f8d83be90929bc92dc6b0dca430ec28410c21e422f5938cebb329dffb0763e54
[INFO] running `Command { std: "docker" "start" "-a" "f8d83be90929bc92dc6b0dca430ec28410c21e422f5938cebb329dffb0763e54", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/dao/model/preload.rs:5:35
[INFO] [stderr]   |
[INFO] [stderr] 5 | use tracing::{info, error, debug, warn};
[INFO] [stderr]   |                                   ^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `verify_key_integrity`
[INFO] [stderr]  --> src/dao/provider_key_pool/provider_key_pool.rs:3:62
[INFO] [stderr]   |
[INFO] [stderr] 3 | use crate::dao::provider_key_pool::crypto::{process_api_key, verify_key_integrity};
[INFO] [stderr]   |                                                              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `delete` and `post`
[INFO] [stderr]  --> src/web/server.rs:4:20
[INFO] [stderr]   |
[INFO] [stderr] 4 |     routing::{get, post, put, delete},
[INFO] [stderr]   |                    ^^^^       ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `sqlx::SqlitePool`
[INFO] [stderr]  --> src/web/handlers/api_key_handler.rs:8:5
[INFO] [stderr]   |
[INFO] [stderr] 8 | use sqlx::SqlitePool;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `decrypt_api_key` and `process_api_key`
[INFO] [stderr]   --> src/web/handlers/api_key_handler.rs:24:45
[INFO] [stderr]    |
[INFO] [stderr] 24 | use crate::dao::provider_key_pool::crypto::{process_api_key, decrypt_api_key};
[INFO] [stderr]    |                                             ^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `base_client` and `base_url` are never read
[INFO] [stderr]   --> src/llm_api/utils/client_pool.rs:63:5
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub struct DynamicAliClient {
[INFO] [stderr]    |            ---------------- fields in this struct
[INFO] [stderr] 63 |     base_client: BaseClient,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 64 |     base_url: String,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stderr]   --> src/llm_api/utils/client_pool.rs:56:23
[INFO] [stderr]    |
[INFO] [stderr] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stderr]    |                       ^^^^^     ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stderr]    |                       |
[INFO] [stderr]    |                       the lifetime is elided here
[INFO] [stderr]    |
[INFO] [stderr]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stderr]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stderr] help: use `'_` for type paths
[INFO] [stderr]    |
[INFO] [stderr] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<'_, T> {
[INFO] [stderr]    |                                                         +++
[INFO] [stderr] 
[INFO] [stderr] warning: `project_rust_learn` (lib) generated 7 warnings (run `cargo fix --lib -p project_rust_learn` to apply 6 suggestions)
[INFO] [stderr] warning: unused imports: `create_model`, `delete_model`, `get_model_by_id`, and `update_model`
[INFO] [stderr]  --> src/dao/model/mod.rs:2:24
[INFO] [stderr]   |
[INFO] [stderr] 2 | pub use model::{Model, create_model, list_models, update_model, delete_model, get_model_by_id, get_model_by_provider_and_name};
[INFO] [stderr]   |                        ^^^^^^^^^^^^               ^^^^^^^^^^^^  ^^^^^^^^^^^^  ^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/dao/model/preload.rs:5:35
[INFO] [stderr]   |
[INFO] [stderr] 5 | use tracing::{info, error, debug, warn};
[INFO] [stderr]   |                                   ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `provider::*`
[INFO] [stderr]  --> src/dao/provider/mod.rs:3:9
[INFO] [stderr]   |
[INFO] [stderr] 3 | pub use provider::*;
[INFO] [stderr]   |         ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `create_provider_key_pool_from_raw_key`, `create_provider_key_pool`, `delete_provider_key_pool`, `list_active_provider_key_pools`, `list_provider_key_pools_by_provider`, `toggle_provider_key_pool_active`, `update_key_pool_usage`, and `update_provider_key_pool`
[INFO] [stderr]   --> src/dao/provider_key_pool/mod.rs:7:5
[INFO] [stderr]    |
[INFO] [stderr]  7 |     create_provider_key_pool, 
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 10 |     list_provider_key_pools_by_provider,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 11 |     list_active_provider_key_pools,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 12 |     update_provider_key_pool,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 13 |     update_key_pool_usage,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 14 |     delete_provider_key_pool,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 15 |     toggle_provider_key_pool_active,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 16 |     create_provider_key_pool_from_raw_key
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `CachedProviderKeyPool` and `insert_cached_provider_key_pool_to_cache`
[INFO] [stderr]   --> src/dao/provider_key_pool/mod.rs:20:5
[INFO] [stderr]    |
[INFO] [stderr] 20 |     CachedProviderKeyPool,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 24 |     insert_cached_provider_key_pool_to_cache,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `decrypt_api_key`, `encrypt_api_key`, `generate_key_hash`, `process_api_key`, and `verify_key_integrity`
[INFO] [stderr]   --> src/dao/provider_key_pool/mod.rs:34:5
[INFO] [stderr]    |
[INFO] [stderr] 34 |     generate_key_hash,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 35 |     encrypt_api_key,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 36 |     decrypt_api_key,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 37 |     process_api_key,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 38 |     verify_key_integrity
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `SystemConfig`, `create_system_config`, `delete_system_config`, `delete_system_configs_by_category`, `get_system_config_by_id`, `get_system_config_by_key`, `get_system_config_value`, `list_encrypted_system_configs`, `list_system_configs_by_category`, `list_system_configs`, `system_config_exists`, `update_system_config_encryption`, `update_system_config_value`, and `update_system_config`
[INFO] [stderr]   --> src/dao/system_config/mod.rs:4:5
[INFO] [stderr]    |
[INFO] [stderr]  4 |     SystemConfig,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]  5 |     create_system_config,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]  6 |     get_system_config_by_id,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]  7 |     get_system_config_by_key,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]  8 |     list_system_configs,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]  9 |     list_system_configs_by_category,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 10 |     list_encrypted_system_configs,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 11 |     update_system_config,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 12 |     update_system_config_value,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 13 |     update_system_config_encryption,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 14 |     delete_system_config,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 15 |     delete_system_configs_by_category,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 16 |     system_config_exists,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 17 |     get_system_config_value
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `CallLogStats`, `count_call_logs_by_model`, `count_call_logs`, `delete_call_log`, `delete_call_logs_by_model`, `delete_old_call_logs`, `get_call_log_by_id`, `get_call_logs_stats_by_model`, `get_call_logs_stats`, `list_call_logs_by_date_range`, `list_call_logs_by_model`, `list_call_logs_by_status`, `list_call_logs_paginated`, `list_call_logs`, `list_error_call_logs`, and `update_call_log`
[INFO] [stderr]   --> src/dao/call_log/mod.rs:5:5
[INFO] [stderr]    |
[INFO] [stderr]  5 |     CallLogStats,
[INFO] [stderr]    |     ^^^^^^^^^^^^
[INFO] [stderr]  6 |     create_call_log,
[INFO] [stderr]  7 |     get_call_log_by_id,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^
[INFO] [stderr]  8 |     list_call_logs,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^
[INFO] [stderr]  9 |     list_call_logs_paginated,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 10 |     list_call_logs_by_model,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 11 |     list_call_logs_by_status,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 12 |     list_error_call_logs,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 13 |     list_call_logs_by_date_range,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 14 |     get_call_logs_stats,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 15 |     get_call_logs_stats_by_model,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 16 |     update_call_log,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 17 |     delete_call_log,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 18 |     delete_call_logs_by_model,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 19 |     delete_old_call_logs,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 20 |     count_call_logs,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^
[INFO] [stderr] 21 |     count_call_logs_by_model
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused imports: `get_active_key_count`, `get_api_key_round_robin`, `get_round_robin_counter`, `reload_provider_api_keys`, and `reset_round_robin_counter`
[INFO] [stderr]   --> src/llm_api/utils/mod.rs:11:5
[INFO] [stderr]    |
[INFO] [stderr] 11 |     get_api_key_round_robin,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 12 |     reload_provider_api_keys,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 13 |     reset_round_robin_counter,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 14 |     get_round_robin_counter,
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 15 |     get_active_key_count
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `warn`
[INFO] [stderr]  --> src/main.rs:8:28
[INFO] [stderr]   |
[INFO] [stderr] 8 | use tracing::{info, error, warn, debug};
[INFO] [stderr]   |                            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::llm_api::ollama::client`
[INFO] [stderr]  --> src/main.rs:9:5
[INFO] [stderr]   |
[INFO] [stderr] 9 | use crate::llm_api::ollama::client;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `get_or_load` and `invalidate` are never used
[INFO] [stderr]   --> src/dao/cache/cache.rs:32:18
[INFO] [stderr]    |
[INFO] [stderr] 10 | / impl<K, V> CacheService<K, V>
[INFO] [stderr] 11 | | where
[INFO] [stderr] 12 | |     K: std::hash::Hash + Eq + Clone + Send + Sync + 'static,
[INFO] [stderr] 13 | |     V: Clone + Send + Sync + 'static,
[INFO] [stderr]    | |_____________________________________- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 32 |       pub async fn get_or_load<F, Fut>(&self, key: K, loader: F) -> V
[INFO] [stderr]    |                    ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 48 |       pub async fn invalidate(&self, key: &K) {
[INFO] [stderr]    |                    ^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_model` is never used
[INFO] [stderr]   --> src/dao/model/model.rs:25:14
[INFO] [stderr]    |
[INFO] [stderr] 25 | pub async fn create_model(pool: &SqlitePool, model: &Model) -> Result<u64> {
[INFO] [stderr]    |              ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_model_by_id` is never used
[INFO] [stderr]   --> src/dao/model/model.rs:51:14
[INFO] [stderr]    |
[INFO] [stderr] 51 | pub async fn get_model_by_id(pool: &SqlitePool, id: &str) -> Result<Option<Model>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_model_by_provider_and_name` is never used
[INFO] [stderr]   --> src/dao/model/model.rs:59:14
[INFO] [stderr]    |
[INFO] [stderr] 59 | pub async fn get_model_by_provider_and_name(pool: &SqlitePool, provider: &str, name: &str) -> Result<Option<Model>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `update_model` is never used
[INFO] [stderr]   --> src/dao/model/model.rs:77:14
[INFO] [stderr]    |
[INFO] [stderr] 77 | pub async fn update_model(pool: &SqlitePool, model: &Model) -> Result<u64> {
[INFO] [stderr]    |              ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `delete_model` is never used
[INFO] [stderr]    --> src/dao/model/model.rs:114:14
[INFO] [stderr]     |
[INFO] [stderr] 114 | pub async fn delete_model(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stderr]     |              ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_model_from_cache` is never used
[INFO] [stderr]   --> src/dao/model/preload.rs:45:14
[INFO] [stderr]    |
[INFO] [stderr] 45 | pub async fn get_model_from_cache(provider: &str, name: &str) -> Option<Model> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `insert_model_to_cache` is never used
[INFO] [stderr]   --> src/dao/model/preload.rs:67:14
[INFO] [stderr]    |
[INFO] [stderr] 67 | pub async fn insert_model_to_cache(model: &Model) -> Result<()> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Provider` is never constructed
[INFO] [stderr]  --> src/dao/provider/provider.rs:5:12
[INFO] [stderr]   |
[INFO] [stderr] 5 | pub struct Provider {
[INFO] [stderr]   |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_provider` is never used
[INFO] [stderr]   --> src/dao/provider/provider.rs:17:14
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub async fn create_provider(pool: &SqlitePool, provider: &Provider) -> Result<u64> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_provider_by_id` is never used
[INFO] [stderr]   --> src/dao/provider/provider.rs:35:14
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub async fn get_provider_by_id(pool: &SqlitePool, id: &str) -> Result<Option<Provider>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_provider_by_name` is never used
[INFO] [stderr]   --> src/dao/provider/provider.rs:44:14
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub async fn get_provider_by_name(pool: &SqlitePool, name: &str) -> Result<Option<Provider>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_all_providers` is never used
[INFO] [stderr]   --> src/dao/provider/provider.rs:53:14
[INFO] [stderr]    |
[INFO] [stderr] 53 | pub async fn get_all_providers(pool: &SqlitePool) -> Result<Vec<Provider>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `update_provider` is never used
[INFO] [stderr]   --> src/dao/provider/provider.rs:61:14
[INFO] [stderr]    |
[INFO] [stderr] 61 | pub async fn update_provider(pool: &SqlitePool, id: &str, provider: &Provider) -> Result<u64> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `delete_provider` is never used
[INFO] [stderr]   --> src/dao/provider/provider.rs:78:14
[INFO] [stderr]    |
[INFO] [stderr] 78 | pub async fn delete_provider(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `hard_delete_provider` is never used
[INFO] [stderr]   --> src/dao/provider/provider.rs:87:14
[INFO] [stderr]    |
[INFO] [stderr] 87 | pub async fn hard_delete_provider(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `count_models_for_provider` is never used
[INFO] [stderr]    --> src/dao/provider/provider.rs:103:14
[INFO] [stderr]     |
[INFO] [stderr] 103 | pub async fn count_models_for_provider(pool: &SqlitePool, provider_id: &str) -> Result<i64> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_provider_key_pool` is never used
[INFO] [stderr]   --> src/dao/provider_key_pool/provider_key_pool.rs:21:14
[INFO] [stderr]    |
[INFO] [stderr] 21 | pub async fn create_provider_key_pool(pool: &SqlitePool, key_pool: &ProviderKeyPool) -> Result<u64> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_provider_key_pool_by_id` is never used
[INFO] [stderr]   --> src/dao/provider_key_pool/provider_key_pool.rs:43:14
[INFO] [stderr]    |
[INFO] [stderr] 43 | pub async fn get_provider_key_pool_by_id(pool: &SqlitePool, id: &str) -> Result<Option<ProviderKeyPool>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `list_provider_key_pools_by_provider` is never used
[INFO] [stderr]   --> src/dao/provider_key_pool/provider_key_pool.rs:60:14
[INFO] [stderr]    |
[INFO] [stderr] 60 | pub async fn list_provider_key_pools_by_provider(pool: &SqlitePool, provider: &str) -> Result<Vec<ProviderKeyPool>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `list_active_provider_key_pools` is never used
[INFO] [stderr]   --> src/dao/provider_key_pool/provider_key_pool.rs:69:14
[INFO] [stderr]    |
[INFO] [stderr] 69 | pub async fn list_active_provider_key_pools(pool: &SqlitePool) -> Result<Vec<ProviderKeyPool>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `update_provider_key_pool` is never used
[INFO] [stderr]   --> src/dao/provider_key_pool/provider_key_pool.rs:77:14
[INFO] [stderr]    |
[INFO] [stderr] 77 | pub async fn update_provider_key_pool(pool: &SqlitePool, key_pool: &ProviderKeyPool) -> Result<u64> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `update_key_pool_usage` is never used
[INFO] [stderr]    --> src/dao/provider_key_pool/provider_key_pool.rs:105:14
[INFO] [stderr]     |
[INFO] [stderr] 105 | pub async fn update_key_pool_usage(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `delete_provider_key_pool` is never used
[INFO] [stderr]    --> src/dao/provider_key_pool/provider_key_pool.rs:119:14
[INFO] [stderr]     |
[INFO] [stderr] 119 | pub async fn delete_provider_key_pool(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `toggle_provider_key_pool_active` is never used
[INFO] [stderr]    --> src/dao/provider_key_pool/provider_key_pool.rs:128:14
[INFO] [stderr]     |
[INFO] [stderr] 128 | pub async fn toggle_provider_key_pool_active(pool: &SqlitePool, id: &str, is_active: bool) -> Result<u64> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_provider_key_pool_from_raw_key` is never used
[INFO] [stderr]    --> src/dao/provider_key_pool/provider_key_pool.rs:152:14
[INFO] [stderr]     |
[INFO] [stderr] 152 | pub async fn create_provider_key_pool_from_raw_key(
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `insert_provider_key_pool_to_cache` is never used
[INFO] [stderr]    --> src/dao/provider_key_pool/preload.rs:167:14
[INFO] [stderr]     |
[INFO] [stderr] 167 | pub async fn insert_provider_key_pool_to_cache(key_pool: &ProviderKeyPool) -> Result<()> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `insert_cached_provider_key_pool_to_cache` is never used
[INFO] [stderr]    --> src/dao/provider_key_pool/preload.rs:185:14
[INFO] [stderr]     |
[INFO] [stderr] 185 | pub async fn insert_cached_provider_key_pool_to_cache(cached_key_pool: &CachedProviderKeyPool) -> Result<()> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_api_key_round_robin` is never used
[INFO] [stderr]    --> src/dao/provider_key_pool/preload.rs:209:14
[INFO] [stderr]     |
[INFO] [stderr] 209 | pub async fn get_api_key_round_robin(provider: &str) -> Option<(String, String)> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `reload_provider_api_keys` is never used
[INFO] [stderr]    --> src/dao/provider_key_pool/preload.rs:267:14
[INFO] [stderr]     |
[INFO] [stderr] 267 | pub async fn reload_provider_api_keys(pool: &SqlitePool, provider: &str) -> anyhow::Result<()> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `reset_round_robin_counter` is never used
[INFO] [stderr]    --> src/dao/provider_key_pool/preload.rs:303:14
[INFO] [stderr]     |
[INFO] [stderr] 303 | pub async fn reset_round_robin_counter(provider: &str) {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_round_robin_counter` is never used
[INFO] [stderr]    --> src/dao/provider_key_pool/preload.rs:318:14
[INFO] [stderr]     |
[INFO] [stderr] 318 | pub async fn get_round_robin_counter(provider: &str) -> usize {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_active_key_count` is never used
[INFO] [stderr]    --> src/dao/provider_key_pool/preload.rs:332:14
[INFO] [stderr]     |
[INFO] [stderr] 332 | pub async fn get_active_key_count(provider: &str) -> usize {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `generate_key_hash` is never used
[INFO] [stderr]   --> src/dao/provider_key_pool/crypto.rs:20:8
[INFO] [stderr]    |
[INFO] [stderr] 20 | pub fn generate_key_hash(api_key: &str) -> String {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `encrypt_api_key` is never used
[INFO] [stderr]   --> src/dao/provider_key_pool/crypto.rs:35:8
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub fn encrypt_api_key(api_key: &str) -> Result<String> {
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `process_api_key` is never used
[INFO] [stderr]    --> src/dao/provider_key_pool/crypto.rs:100:8
[INFO] [stderr]     |
[INFO] [stderr] 100 | pub fn process_api_key(api_key: &str) -> Result<(String, String)> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `verify_key_integrity` is never used
[INFO] [stderr]    --> src/dao/provider_key_pool/crypto.rs:114:8
[INFO] [stderr]     |
[INFO] [stderr] 114 | pub fn verify_key_integrity(decrypted_key: &str, stored_hash: &str) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_system_config` is never used
[INFO] [stderr]   --> src/dao/system_config/system_config.rs:17:14
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub async fn create_system_config(pool: &SqlitePool, config: &SystemConfig) -> Result<u64> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_system_config_by_id` is never used
[INFO] [stderr]   --> src/dao/system_config/system_config.rs:35:14
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub async fn get_system_config_by_id(pool: &SqlitePool, id: &str) -> Result<Option<SystemConfig>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_system_config_by_key` is never used
[INFO] [stderr]   --> src/dao/system_config/system_config.rs:44:14
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub async fn get_system_config_by_key(pool: &SqlitePool, category: &str, key_name: &str) -> Result<Option<SystemConfig>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `list_system_configs` is never used
[INFO] [stderr]   --> src/dao/system_config/system_config.rs:54:14
[INFO] [stderr]    |
[INFO] [stderr] 54 | pub async fn list_system_configs(pool: &SqlitePool) -> Result<Vec<SystemConfig>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `list_system_configs_by_category` is never used
[INFO] [stderr]   --> src/dao/system_config/system_config.rs:62:14
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub async fn list_system_configs_by_category(pool: &SqlitePool, category: &str) -> Result<Vec<SystemConfig>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `list_encrypted_system_configs` is never used
[INFO] [stderr]   --> src/dao/system_config/system_config.rs:71:14
[INFO] [stderr]    |
[INFO] [stderr] 71 | pub async fn list_encrypted_system_configs(pool: &SqlitePool) -> Result<Vec<SystemConfig>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `update_system_config` is never used
[INFO] [stderr]   --> src/dao/system_config/system_config.rs:79:14
[INFO] [stderr]    |
[INFO] [stderr] 79 | pub async fn update_system_config(pool: &SqlitePool, config: &SystemConfig) -> Result<u64> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `update_system_config_value` is never used
[INFO] [stderr]    --> src/dao/system_config/system_config.rs:101:14
[INFO] [stderr]     |
[INFO] [stderr] 101 | pub async fn update_system_config_value(pool: &SqlitePool, category: &str, key_name: &str, value: &str) -> Result<u64> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `update_system_config_encryption` is never used
[INFO] [stderr]    --> src/dao/system_config/system_config.rs:118:14
[INFO] [stderr]     |
[INFO] [stderr] 118 | pub async fn update_system_config_encryption(pool: &SqlitePool, id: &str, is_encrypted: bool, encrypted_value: &str) -> Result<u64> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `delete_system_config` is never used
[INFO] [stderr]    --> src/dao/system_config/system_config.rs:136:14
[INFO] [stderr]     |
[INFO] [stderr] 136 | pub async fn delete_system_config(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `delete_system_configs_by_category` is never used
[INFO] [stderr]    --> src/dao/system_config/system_config.rs:145:14
[INFO] [stderr]     |
[INFO] [stderr] 145 | pub async fn delete_system_configs_by_category(pool: &SqlitePool, category: &str) -> Result<u64> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `system_config_exists` is never used
[INFO] [stderr]    --> src/dao/system_config/system_config.rs:154:14
[INFO] [stderr]     |
[INFO] [stderr] 154 | pub async fn system_config_exists(pool: &SqlitePool, category: &str, key_name: &str) -> Result<bool> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_system_config_value` is never used
[INFO] [stderr]    --> src/dao/system_config/system_config.rs:164:14
[INFO] [stderr]     |
[INFO] [stderr] 164 | pub async fn get_system_config_value(pool: &SqlitePool, category: &str, key_name: &str) -> Result<Option<String>> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `create_call_log` is never used
[INFO] [stderr]   --> src/dao/call_log/call_log.rs:17:14
[INFO] [stderr]    |
[INFO] [stderr] 17 | pub async fn create_call_log(pool: &SqlitePool, call_log: &CallLog) -> Result<u64> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_call_log_by_id` is never used
[INFO] [stderr]   --> src/dao/call_log/call_log.rs:35:14
[INFO] [stderr]    |
[INFO] [stderr] 35 | pub async fn get_call_log_by_id(pool: &SqlitePool, id: &str) -> Result<Option<CallLog>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `list_call_logs` is never used
[INFO] [stderr]   --> src/dao/call_log/call_log.rs:44:14
[INFO] [stderr]    |
[INFO] [stderr] 44 | pub async fn list_call_logs(pool: &SqlitePool) -> Result<Vec<CallLog>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `list_call_logs_paginated` is never used
[INFO] [stderr]   --> src/dao/call_log/call_log.rs:52:14
[INFO] [stderr]    |
[INFO] [stderr] 52 | pub async fn list_call_logs_paginated(pool: &SqlitePool, limit: i64, offset: i64) -> Result<Vec<CallLog>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `list_call_logs_by_model` is never used
[INFO] [stderr]   --> src/dao/call_log/call_log.rs:62:14
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub async fn list_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<Vec<CallLog>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `list_call_logs_by_status` is never used
[INFO] [stderr]   --> src/dao/call_log/call_log.rs:71:14
[INFO] [stderr]    |
[INFO] [stderr] 71 | pub async fn list_call_logs_by_status(pool: &SqlitePool, status_code: i64) -> Result<Vec<CallLog>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `list_error_call_logs` is never used
[INFO] [stderr]   --> src/dao/call_log/call_log.rs:80:14
[INFO] [stderr]    |
[INFO] [stderr] 80 | pub async fn list_error_call_logs(pool: &SqlitePool) -> Result<Vec<CallLog>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `list_call_logs_by_date_range` is never used
[INFO] [stderr]   --> src/dao/call_log/call_log.rs:88:14
[INFO] [stderr]    |
[INFO] [stderr] 88 | pub async fn list_call_logs_by_date_range(pool: &SqlitePool, start_date: &str, end_date: &str) -> Result<Vec<CallLog>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_call_logs_stats` is never used
[INFO] [stderr]    --> src/dao/call_log/call_log.rs:100:14
[INFO] [stderr]     |
[INFO] [stderr] 100 | pub async fn get_call_logs_stats(pool: &SqlitePool) -> Result<CallLogStats> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_call_logs_stats_by_model` is never used
[INFO] [stderr]    --> src/dao/call_log/call_log.rs:117:14
[INFO] [stderr]     |
[INFO] [stderr] 117 | pub async fn get_call_logs_stats_by_model(pool: &SqlitePool, model_id: &str) -> Result<CallLogStats> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `update_call_log` is never used
[INFO] [stderr]    --> src/dao/call_log/call_log.rs:135:14
[INFO] [stderr]     |
[INFO] [stderr] 135 | pub async fn update_call_log(pool: &SqlitePool, call_log: &CallLog) -> Result<u64> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `delete_call_log` is never used
[INFO] [stderr]    --> src/dao/call_log/call_log.rs:157:14
[INFO] [stderr]     |
[INFO] [stderr] 157 | pub async fn delete_call_log(pool: &SqlitePool, id: &str) -> Result<u64> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `delete_call_logs_by_model` is never used
[INFO] [stderr]    --> src/dao/call_log/call_log.rs:166:14
[INFO] [stderr]     |
[INFO] [stderr] 166 | pub async fn delete_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<u64> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `delete_old_call_logs` is never used
[INFO] [stderr]    --> src/dao/call_log/call_log.rs:175:14
[INFO] [stderr]     |
[INFO] [stderr] 175 | pub async fn delete_old_call_logs(pool: &SqlitePool, before_date: &str) -> Result<u64> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `count_call_logs` is never used
[INFO] [stderr]    --> src/dao/call_log/call_log.rs:184:14
[INFO] [stderr]     |
[INFO] [stderr] 184 | pub async fn count_call_logs(pool: &SqlitePool) -> Result<i64> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `count_call_logs_by_model` is never used
[INFO] [stderr]    --> src/dao/call_log/call_log.rs:192:14
[INFO] [stderr]     |
[INFO] [stderr] 192 | pub async fn count_call_logs_by_model(pool: &SqlitePool, model_id: &str) -> Result<i64> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `CallLogStats` is never constructed
[INFO] [stderr]    --> src/dao/call_log/call_log.rs:202:12
[INFO] [stderr]     |
[INFO] [stderr] 202 | pub struct CallLogStats {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_api_key_with_cache` is never used
[INFO] [stderr]   --> src/llm_api/utils/api_key_check.rs:19:14
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub async fn get_api_key_with_cache(provider: &str, id: &str) -> Result<Option<String>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_model_with_cache` is never used
[INFO] [stderr]   --> src/llm_api/utils/model_check.rs:16:14
[INFO] [stderr]    |
[INFO] [stderr] 16 | pub async fn get_model_with_cache(provider: &str, name: &str) -> Result<Option<Model>> {
[INFO] [stderr]    |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ToolCall` is never constructed
[INFO] [stderr]   --> src/llm_api/utils/msg_structure.rs:11:12
[INFO] [stderr]    |
[INFO] [stderr] 11 | pub struct ToolCall {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Message` is never constructed
[INFO] [stderr]   --> src/llm_api/utils/msg_structure.rs:26:12
[INFO] [stderr]    |
[INFO] [stderr] 26 | pub struct Message {
[INFO] [stderr]    |            ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Function` is never constructed
[INFO] [stderr]   --> src/llm_api/utils/msg_structure.rs:47:12
[INFO] [stderr]    |
[INFO] [stderr] 47 | pub struct Function {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/llm_api/utils/msg_structure.rs:57:12
[INFO] [stderr]     |
[INFO] [stderr]  55 | impl Message {
[INFO] [stderr]     | ------------ associated items in this implementation
[INFO] [stderr]  56 |     /// 创建系统消息
[INFO] [stderr]  57 |     pub fn system(content: String) -> Self {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  69 |     pub fn user(content: String) -> Self {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr]  81 |     pub fn assistant(content: String) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  93 |     pub fn tool(content: String, tool_name: String) -> Self {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 105 |     pub fn with_images(mut self, images: Vec<String>) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 111 |     pub fn with_thinking(mut self, thinking: String) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 117 |     pub fn with_tool_calls(mut self, tool_calls: Vec<ToolCall>) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `Tool` is never constructed
[INFO] [stderr]  --> src/llm_api/utils/tool_structure.rs:7:12
[INFO] [stderr]   |
[INFO] [stderr] 7 | pub struct Tool {
[INFO] [stderr]   |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ToolFunction` is never constructed
[INFO] [stderr]   --> src/llm_api/utils/tool_structure.rs:19:12
[INFO] [stderr]    |
[INFO] [stderr] 19 | pub struct ToolFunction {
[INFO] [stderr]    |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `ChatRequestTrait` is never used
[INFO] [stderr]   --> src/llm_api/utils/chat_traits.rs:15:11
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub trait ChatRequestTrait {
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `ChatResponseTrait` is never used
[INFO] [stderr]   --> src/llm_api/utils/chat_traits.rs:71:11
[INFO] [stderr]    |
[INFO] [stderr] 71 | pub trait ChatResponseTrait {
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `PerformanceSummary` is never constructed
[INFO] [stderr]    --> src/llm_api/utils/chat_traits.rs:130:12
[INFO] [stderr]     |
[INFO] [stderr] 130 | pub struct PerformanceSummary {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `empty`, `has_data`, and `format` are never used
[INFO] [stderr]    --> src/llm_api/utils/chat_traits.rs:143:12
[INFO] [stderr]     |
[INFO] [stderr] 141 | impl PerformanceSummary {
[INFO] [stderr]     | ----------------------- associated items in this implementation
[INFO] [stderr] 142 |     /// 创建空的性能摘要
[INFO] [stderr] 143 |     pub fn empty() -> Self {
[INFO] [stderr]     |            ^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 153 |     pub fn has_data(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 160 |     pub fn format(&self) -> String {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `ChatClientTrait` is never used
[INFO] [stderr]    --> src/llm_api/utils/chat_traits.rs:192:11
[INFO] [stderr]     |
[INFO] [stderr] 192 | pub trait ChatClientTrait {
[INFO] [stderr]     |           ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ChatRequestBuilder` is never constructed
[INFO] [stderr]    --> src/llm_api/utils/chat_traits.rs:213:12
[INFO] [stderr]     |
[INFO] [stderr] 213 | pub struct ChatRequestBuilder {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/llm_api/utils/chat_traits.rs:223:12
[INFO] [stderr]     |
[INFO] [stderr] 221 | impl ChatRequestBuilder {
[INFO] [stderr]     | ----------------------- associated items in this implementation
[INFO] [stderr] 222 |     /// 创建新的构建器
[INFO] [stderr] 223 |     pub fn new(model: String) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 234 |     pub fn messages(mut self, messages: Vec<Message>) -> Self {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 240 |     pub fn add_message(mut self, message: Message) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 246 |     pub fn system(mut self, content: String) -> Self {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 252 |     pub fn user(mut self, content: String) -> Self {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 258 |     pub fn assistant(mut self, content: String) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 264 |     pub fn stream(mut self, stream: bool) -> Self {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 270 |     pub fn options(mut self, options: HashMap<String, Value>) -> Self {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 276 |     pub fn format(mut self, format: String) -> Self {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 282 |     pub fn build_fields(self) -> (String, Vec<Message>, Option<bool>, Option<HashMap<String, Value>>, Option<String>) {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TimeoutConfig` is never constructed
[INFO] [stderr]   --> src/llm_api/utils/client.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub struct TimeoutConfig {
[INFO] [stderr]    |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `with_request_timeout`, and `with_connect_timeout` are never used
[INFO] [stderr]   --> src/llm_api/utils/client.rs:43:12
[INFO] [stderr]    |
[INFO] [stderr] 42 | impl TimeoutConfig {
[INFO] [stderr]    | ------------------ associated items in this implementation
[INFO] [stderr] 43 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 47 |     pub fn with_request_timeout(mut self, timeout: Duration) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 52 |     pub fn with_connect_timeout(mut self, timeout: Duration) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RetryConfig` is never constructed
[INFO] [stderr]   --> src/llm_api/utils/client.rs:62:12
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub struct RetryConfig {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `with_max_attempts`, and `with_base_delay` are never used
[INFO] [stderr]   --> src/llm_api/utils/client.rs:85:12
[INFO] [stderr]    |
[INFO] [stderr] 84 | impl RetryConfig {
[INFO] [stderr]    | ---------------- associated items in this implementation
[INFO] [stderr] 85 |     pub fn new() -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stdout] 
[INFO] [stderr] 89 |     pub fn with_max_attempts(mut self, attempts: u32) -> Self {
[INFO] [stdout] running 12 tests
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] test llm_api::ali::client::tests::test_ali_chat_request_creation ... ok
[INFO] [stderr] ...
[INFO] [stdout] test dao::provider_key_pool::crypto::tests::test_verify_key_integrity ... ok
[INFO] [stderr] 94 |     pub fn with_base_delay(mut self, delay: Duration) -> Self {
[INFO] [stdout] test dao::provider_key_pool::crypto::tests::test_key_hash_generation ... ok
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stdout] test llm_api::ali::client::tests::test_ali_chat_request_validation ... ok
[INFO] [stderr] 
[INFO] [stdout] test dao::provider_key_pool::crypto::tests::test_process_api_key ... ok
[INFO] [stderr] warning: struct `ClientConfig` is never constructed
[INFO] [stdout] test dao::provider_key_pool::crypto::tests::test_encrypt_produces_different_outputs ... ok
[INFO] [stderr]    --> src/llm_api/utils/client.rs:104:12
[INFO] [stdout] test dao::provider_key_pool::crypto::tests::test_encrypt_decrypt_roundtrip ... ok
[INFO] [stderr]     |
[INFO] [stderr] 104 | pub struct ClientConfig {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `with_timeout`, `with_retry`, `add_header`, and `with_user_agent` are never used
[INFO] [stderr]    --> src/llm_api/utils/client.rs:127:12
[INFO] [stderr]     |
[INFO] [stderr] 126 | impl ClientConfig {
[INFO] [stderr]     | ----------------- associated items in this implementation
[INFO] [stderr] 127 |     pub fn new() -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 131 |     pub fn with_timeout(mut self, timeout: TimeoutConfig) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 136 |     pub fn with_retry(mut self, retry: RetryConfig) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 141 |     pub fn add_header(mut self, key: String, value: String) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 146 |     pub fn with_user_agent(mut self, user_agent: String) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `ClientError` is never used
[INFO] [stderr]    --> src/llm_api/utils/client.rs:156:10
[INFO] [stderr]     |
[INFO] [stderr] 156 | pub enum ClientError {
[INFO] [stderr]     |          ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `RequestContext` is never constructed
[INFO] [stderr]    --> src/llm_api/utils/client.rs:207:12
[INFO] [stderr]     |
[INFO] [stderr] 207 | pub struct RequestContext {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/llm_api/utils/client.rs:232:12
[INFO] [stderr]     |
[INFO] [stderr] 230 | impl RequestContext {
[INFO] [stderr]     | ------------------- associated items in this implementation
[INFO] [stderr] 231 |     /// 创建新的请求上下文
[INFO] [stderr] 232 |     pub fn new(url: &str, max_attempts: u32, is_stream: bool) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 249 |     pub fn set_model_id(&mut self, model_id: String) {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 254 |     pub fn add_tokens(&mut self, tokens: i64) {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 259 |     pub fn start_retry(&mut self, reason: String) {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 266 |     pub fn total_elapsed(&self) -> Duration {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 271 |     pub fn attempt_elapsed(&self) -> Duration {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 276 |     pub fn is_final_attempt(&self) -> bool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ClientMetrics` is never constructed
[INFO] [stderr]    --> src/llm_api/utils/client.rs:283:12
[INFO] [stderr]     |
[INFO] [stderr] 283 | pub struct ClientMetrics {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `BaseClient` is never constructed
[INFO] [stderr]    --> src/llm_api/utils/client.rs:304:12
[INFO] [stderr]     |
[INFO] [stderr] 304 | pub struct BaseClient {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/llm_api/utils/client.rs:315:12
[INFO] [stderr]     |
[INFO] [stderr] 313 | impl BaseClient {
[INFO] [stderr]     | --------------- associated items in this implementation
[INFO] [stderr] 314 |     /// 创建新的基础客户端
[INFO] [stderr] 315 |     pub fn new(config: ClientConfig) -> Result<Self, ClientError> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 320 |     pub fn new_with_client(config: ClientConfig, custom_client: Option<HttpClient>) -> Result<Self, ClientError> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 355 |     pub fn new_default() -> Result<Self, ClientError> {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 362 |     pub fn http_client(&self) -> &HttpClient {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 367 |     pub fn config(&self) -> &ClientConfig {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 372 |     pub fn metrics(&self) -> ClientMetrics {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 377 |     pub async fn post<T>(&self, url: &str, body: T) -> Result<Response, ClientError>
[INFO] [stderr]     |                  ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 515 |     pub async fn post_stream<T, F>(&self, url: &str, body: T, mut callback: F) -> Result<(), ClientError>
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 724 |     fn calculate_backoff_delay(&self, attempt: u32) -> Duration {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 739 |     fn should_retry(&self, error: &ClientError, _attempt: u32) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 754 |     fn update_success_metrics(&self, response_time: Duration) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 780 |     fn update_failure_metrics(&self) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 788 |     fn log_request_start(&self, ctx: &RequestContext) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 799 |     fn log_retry_attempt(&self, ctx: &RequestContext, delay: Duration) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 813 |     fn log_request_success(&self, ctx: &RequestContext) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 825 |     fn log_request_failure(&self, ctx: &RequestContext, error: &ClientError) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 838 |     fn log_network_error(&self, ctx: &RequestContext, error: &reqwest::Error) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 859 |     fn log_timeout_error(&self, ctx: &RequestContext, timeout_duration: Duration) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 872 |     fn log_api_error(&self, ctx: &RequestContext, message: &str, status_code: Option<u16>) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 885 |     fn log_retry_exhausted(&self, ctx: &RequestContext, final_error: &str) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 898 |     async fn create_call_record(&self, ctx: &RequestContext, status_code: i64, error_message: Option<String>) {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `LLMClientTrait` is never used
[INFO] [stderr]    --> src/llm_api/utils/client.rs:942:11
[INFO] [stderr]     |
[INFO] [stderr] 942 | pub trait LLMClientTrait {
[INFO] [stderr]     |           ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ClientPool` is never constructed
[INFO] [stderr]   --> src/llm_api/utils/client_pool.rs:15:12
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub struct ClientPool<T> {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `acquire`, and `size` are never used
[INFO] [stderr]   --> src/llm_api/utils/client_pool.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 21 | impl<T> ClientPool<T> {
[INFO] [stderr]    | --------------------- associated items in this implementation
[INFO] [stderr] 22 |     pub fn new(clients: Vec<T>) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 32 |     pub async fn acquire(&self) -> ClientGuard<T> {
[INFO] [stderr]    |                  ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 44 |     pub fn size(&self) -> usize {
[INFO] [stderr]    |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `ClientGuard` is never constructed
[INFO] [stderr]   --> src/llm_api/utils/client_pool.rs:50:12
[INFO] [stderr]    |
[INFO] [stderr] 50 | pub struct ClientGuard<T> {
[INFO] [stderr]    |            ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `lock` is never used
[INFO] [stderr]   --> src/llm_api/utils/client_pool.rs:56:18
[INFO] [stderr]    |
[INFO] [stderr] 55 | impl<T> ClientGuard<T> {
[INFO] [stderr]    | ---------------------- method in this implementation
[INFO] [stderr] 56 |     pub async fn lock(&self) -> tokio::sync::MutexGuard<T> {
[INFO] [stderr]    |                  ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DynamicAliClient` is never constructed
[INFO] [stderr]   --> src/llm_api/utils/client_pool.rs:62:12
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub struct DynamicAliClient {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `chat_with_auto_key`, and `chat_stream_with_auto_key` are never used
[INFO] [stderr]    --> src/llm_api/utils/client_pool.rs:68:12
[INFO] [stderr]     |
[INFO] [stderr]  67 | impl DynamicAliClient {
[INFO] [stderr]     | --------------------- associated items in this implementation
[INFO] [stderr]  68 |     pub fn new() -> Result<Self> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr]  81 |     pub async fn chat_with_auto_key(&self, request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 128 |     pub async fn chat_stream_with_auto_key<F>(&self, request: AliChatRequest, callback: F) -> Result<(), AliError>
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `GlobalAliClientPool` is never constructed
[INFO] [stderr]    --> src/llm_api/utils/client_pool.rs:163:12
[INFO] [stderr]     |
[INFO] [stderr] 163 | pub struct GlobalAliClientPool {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `init`, `chat`, `chat_stream`, and `size` are never used
[INFO] [stderr]    --> src/llm_api/utils/client_pool.rs:169:18
[INFO] [stderr]     |
[INFO] [stderr] 167 | impl GlobalAliClientPool {
[INFO] [stderr]     | ------------------------ associated items in this implementation
[INFO] [stderr] 168 |     /// 初始化全局客户端池
[INFO] [stderr] 169 |     pub async fn init(pool_size: usize) -> Result<Self> {
[INFO] [stderr]     |                  ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 194 |     pub async fn chat(&self, request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stderr]     |                  ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 201 |     pub async fn chat_stream<F>(&self, request: AliChatRequest, callback: F) -> Result<(), AliError>
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 211 |     pub fn size(&self) -> usize {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: static `GLOBAL_ALI_POOL` is never used
[INFO] [stderr]    --> src/llm_api/utils/client_pool.rs:217:8
[INFO] [stderr]     |
[INFO] [stderr] 217 | static GLOBAL_ALI_POOL: OnceCell<GlobalAliClientPool> = OnceCell::const_new();
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `init_ali_client_pool` is never used
[INFO] [stderr]    --> src/llm_api/utils/client_pool.rs:220:14
[INFO] [stderr]     |
[INFO] [stderr] 220 | pub async fn init_ali_client_pool(pool_size: usize) -> Result<()> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function `get_ali_client_pool` is never used
[INFO] [stderr]    --> src/llm_api/utils/client_pool.rs:228:14
[INFO] [stderr]     |
[INFO] [stderr] 228 | pub async fn get_ali_client_pool() -> Result<&'static GlobalAliClientPool> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AliChatRequest` is never constructed
[INFO] [stderr]   --> src/llm_api/ali/client.rs:22:12
[INFO] [stderr]    |
[INFO] [stderr] 22 | pub struct AliChatRequest {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `with_max_tokens`, `with_temperature`, `with_top_p`, `with_stop`, and `with_incremental_output` are never used
[INFO] [stderr]   --> src/llm_api/ali/client.rs:55:12
[INFO] [stderr]    |
[INFO] [stderr] 53 | impl AliChatRequest {
[INFO] [stderr]    | ------------------- associated items in this implementation
[INFO] [stderr] 54 |     /// 创建新的聊天请求
[INFO] [stderr] 55 |     pub fn new(model: String, messages: Vec<Message>) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 71 |     pub fn with_max_tokens(mut self, max_tokens: u32) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 77 |     pub fn with_temperature(mut self, temperature: f32) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 83 |     pub fn with_top_p(mut self, top_p: f32) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 89 |     pub fn with_stop(mut self, stop: Vec<String>) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 95 |     pub fn with_incremental_output(mut self, incremental: bool) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AliUsage` is never constructed
[INFO] [stderr]    --> src/llm_api/ali/client.rs:245:12
[INFO] [stderr]     |
[INFO] [stderr] 245 | pub struct AliUsage {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AliPromptTokensDetails` is never constructed
[INFO] [stderr]    --> src/llm_api/ali/client.rs:259:12
[INFO] [stderr]     |
[INFO] [stderr] 259 | pub struct AliPromptTokensDetails {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AliChoice` is never constructed
[INFO] [stderr]    --> src/llm_api/ali/client.rs:267:12
[INFO] [stderr]     |
[INFO] [stderr] 267 | pub struct AliChoice {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AliChatResponse` is never constructed
[INFO] [stderr]    --> src/llm_api/ali/client.rs:281:12
[INFO] [stderr]     |
[INFO] [stderr] 281 | pub struct AliChatResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AliStreamResponse` is never constructed
[INFO] [stderr]    --> src/llm_api/ali/client.rs:331:12
[INFO] [stderr]     |
[INFO] [stderr] 331 | pub struct AliStreamResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AliStreamChoice` is never constructed
[INFO] [stderr]    --> src/llm_api/ali/client.rs:349:12
[INFO] [stderr]     |
[INFO] [stderr] 349 | pub struct AliStreamChoice {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AliDelta` is never constructed
[INFO] [stderr]    --> src/llm_api/ali/client.rs:361:12
[INFO] [stderr]     |
[INFO] [stderr] 361 | pub struct AliDelta {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `AliError` is never used
[INFO] [stderr]    --> src/llm_api/ali/client.rs:372:10
[INFO] [stderr]     |
[INFO] [stderr] 372 | pub enum AliError {
[INFO] [stderr]     |          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AliClient` is never constructed
[INFO] [stderr]    --> src/llm_api/ali/client.rs:415:12
[INFO] [stderr]     |
[INFO] [stderr] 415 | pub struct AliClient {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/llm_api/ali/client.rs:426:15
[INFO] [stderr]     |
[INFO] [stderr] 424 | impl AliClient {
[INFO] [stderr]     | -------------- associated items in this implementation
[INFO] [stderr] 425 |     /// DashScope API 的默认基础 URL
[INFO] [stderr] 426 |     pub const DEFAULT_BASE_URL: &'static str = "https://dashscope.aliyuncs.com";
[INFO] [stderr]     |               ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 429 |     pub fn new(api_key: String) -> Result<Self> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 434 |     pub fn new_with_base_url(api_key: String, base_url: String) -> Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 443 |     pub fn new_with_config(api_key: String, base_url: String, mut config: ClientConfig) -> Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 459 |     pub fn new_with_client(api_key: String, base_url: String, mut config: ClientConfig, client: Client) -> Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 475 |     pub async fn chat(&self, mut request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stderr]     |                  ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 508 |     pub async fn chat_stream<F>(&self, mut request: AliChatRequest, mut callback: F) -> Result<(), AliError>
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 554 |     pub fn api_key(&self) -> &str {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 559 |     pub fn base_url(&self) -> &str {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `OllamaChatRequest` is never constructed
[INFO] [stderr]   --> src/llm_api/ollama/client.rs:23:12
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub struct OllamaChatRequest {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `with_tools`, and `add_tool` are never used
[INFO] [stderr]   --> src/llm_api/ollama/client.rs:44:12
[INFO] [stderr]    |
[INFO] [stderr] 42 | impl OllamaChatRequest {
[INFO] [stderr]    | ---------------------- associated items in this implementation
[INFO] [stderr] 43 |     /// 创建新的聊天请求
[INFO] [stderr] 44 |     pub fn new(model: String, messages: Vec<Message>) -> Self {
[INFO] [stderr]    |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 56 |     pub fn with_tools(mut self, tools: Vec<Tool>) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 62 |     pub fn add_tool(mut self, tool: Tool) -> Self {
[INFO] [stderr]    |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `OllamaChatResponse` is never constructed
[INFO] [stderr]    --> src/llm_api/ollama/client.rs:119:12
[INFO] [stderr]     |
[INFO] [stderr] 119 | pub struct OllamaChatResponse {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `OllamaError` is never used
[INFO] [stderr]    --> src/llm_api/ollama/client.rs:182:10
[INFO] [stderr]     |
[INFO] [stderr] 182 | pub enum OllamaError {
[INFO] [stderr]     |          ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `OllamaClient` is never constructed
[INFO] [stderr]    --> src/llm_api/ollama/client.rs:223:12
[INFO] [stderr]     |
[INFO] [stderr] 223 | pub struct OllamaClient {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/llm_api/ollama/client.rs:232:12
[INFO] [stderr]     |
[INFO] [stderr] 230 | impl OllamaClient {
[INFO] [stderr]     | ----------------- associated items in this implementation
[INFO] [stderr] 231 |     /// 创建新的 Ollama 客户端
[INFO] [stderr] 232 |     pub fn new(base_url: String) -> Result<Self> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 237 |     pub fn new_with_config(base_url: String, config: ClientConfig) -> Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 247 |     pub fn new_with_client(base_url: String, config: ClientConfig, client: Client) -> Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 257 |     pub async fn chat(&self, mut request: OllamaChatRequest) -> Result<OllamaChatResponse, OllamaError> {
[INFO] [stderr]     |                  ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 281 |     pub async fn chat_stream<F>(&self, mut request: OllamaChatRequest, mut callback: F) -> Result<(), OllamaError>
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 318 |     pub async fn list_models(&self) -> Result<Vec<String>, OllamaError> {
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 347 |     pub async fn is_model_available(&self, model_name: &str) -> Result<bool, OllamaError> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `Provider` is never used
[INFO] [stderr]   --> src/llm_api/dispatcher.rs:28:10
[INFO] [stderr]    |
[INFO] [stderr] 28 | pub enum Provider {
[INFO] [stderr]    |          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DispatchRequest` is never constructed
[INFO] [stderr]   --> src/llm_api/dispatcher.rs:38:12
[INFO] [stderr]    |
[INFO] [stderr] 38 | pub struct DispatchRequest {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DispatchResponse` is never constructed
[INFO] [stderr]   --> src/llm_api/dispatcher.rs:56:12
[INFO] [stderr]    |
[INFO] [stderr] 56 | pub struct DispatchResponse {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `TokenUsage` is never constructed
[INFO] [stderr]   --> src/llm_api/dispatcher.rs:69:12
[INFO] [stderr]    |
[INFO] [stderr] 69 | pub struct TokenUsage {
[INFO] [stderr]    |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: trait `LLMClientAdapter` is never used
[INFO] [stderr]   --> src/llm_api/dispatcher.rs:77:11
[INFO] [stderr]    |
[INFO] [stderr] 77 | pub trait LLMClientAdapter: Send + Sync {
[INFO] [stderr]    |           ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: enum `LLMError` is never used
[INFO] [stderr]   --> src/llm_api/dispatcher.rs:86:10
[INFO] [stderr]    |
[INFO] [stderr] 86 | pub enum LLMError {
[INFO] [stderr]    |          ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `OllamaAdapter` is never constructed
[INFO] [stderr]    --> src/llm_api/dispatcher.rs:129:12
[INFO] [stderr]     |
[INFO] [stderr] 129 | pub struct OllamaAdapter {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/llm_api/dispatcher.rs:134:12
[INFO] [stderr]     |
[INFO] [stderr] 133 | impl OllamaAdapter {
[INFO] [stderr]     | ------------------ associated function in this implementation
[INFO] [stderr] 134 |     pub fn new(client: OllamaClient) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AliAdapter` is never constructed
[INFO] [stderr]    --> src/llm_api/dispatcher.rs:216:12
[INFO] [stderr]     |
[INFO] [stderr] 216 | pub struct AliAdapter {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/llm_api/dispatcher.rs:221:12
[INFO] [stderr]     |
[INFO] [stderr] 220 | impl AliAdapter {
[INFO] [stderr]     | --------------- associated function in this implementation
[INFO] [stderr] 221 |     pub fn new(client: AliClient) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `AliPoolAdapter` is never constructed
[INFO] [stderr]    --> src/llm_api/dispatcher.rs:227:12
[INFO] [stderr]     |
[INFO] [stderr] 227 | pub struct AliPoolAdapter {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated function `new` is never used
[INFO] [stderr]    --> src/llm_api/dispatcher.rs:232:12
[INFO] [stderr]     |
[INFO] [stderr] 231 | impl AliPoolAdapter {
[INFO] [stderr]     | ------------------- associated function in this implementation
[INFO] [stderr] 232 |     pub fn new(pool: Arc<ClientPool<DynamicAliClient>>) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `LLMDispatcher` is never constructed
[INFO] [stderr]    --> src/llm_api/dispatcher.rs:401:12
[INFO] [stderr]     |
[INFO] [stderr] 401 | pub struct LLMDispatcher {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: struct `DispatchConfig` is never constructed
[INFO] [stderr]    --> src/llm_api/dispatcher.rs:407:12
[INFO] [stderr]     |
[INFO] [stderr] 407 | pub struct DispatchConfig {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/llm_api/dispatcher.rs:428:12
[INFO] [stderr]     |
[INFO] [stderr] 427 | impl LLMDispatcher {
[INFO] [stderr]     | ------------------ associated items in this implementation
[INFO] [stderr] 428 |     pub fn new(config: Option<DispatchConfig>) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 436 |     pub async fn new_with_database(config: Option<DispatchConfig>, db_url: &str, init_sql_path: &str) -> Result<Self, Box<dyn std::...
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 483 |     pub async fn register_ali_pool(&self, pool_size: usize) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 503 |     pub async fn register_client(&self, client: Box<dyn LLMClientAdapter>) {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 510 |     pub async fn register_clients(&self, clients: Vec<Box<dyn LLMClientAdapter>>) {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 517 |     pub async fn dispatch(&self, mut request: DispatchRequest) -> Result<DispatchResponse, LLMError> {
[INFO] [stderr]     |                  ^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 537 |     pub async fn dispatch_stream(&self, mut request: DispatchRequest) -> Result<tokio::sync::mpsc::Receiver<Result<String, LLMError...
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 549 |     pub async fn list_models(&self, provider: Option<Provider>) -> HashMap<Provider, Vec<String>> {
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 567 |     pub async fn is_provider_available(&self, provider: &Provider) -> bool {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 573 |     async fn dispatch_internal(&self, request: &DispatchRequest) -> Result<DispatchResponse, LLMError> {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 604 |     async fn try_fallback(&self, mut request: DispatchRequest, original_error: LLMError) -> Result<DispatchResponse, LLMError> {
[INFO] [stderr]     |              ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 621 |     fn apply_defaults(&self, request: &mut DispatchRequest) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 634 |     fn validate_request(&self, request: &DispatchRequest) -> Result<(), LLMError> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: associated items `new`, `with_stream`, `with_temperature`, `with_max_tokens`, `with_top_p`, and `with_stop` are never used
[INFO] [stderr]    --> src/llm_api/dispatcher.rs:655:12
[INFO] [stderr]     |
[INFO] [stderr] 654 | impl DispatchRequest {
[INFO] [stderr]     | -------------------- associated items in this implementation
[INFO] [stderr] 655 |     pub fn new(provider: Provider, model: String, messages: Vec<Message>) -> Self {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 673 |     pub fn with_stream(mut self, stream: bool) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 678 |     pub fn with_temperature(mut self, temperature: f32) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 683 |     pub fn with_max_tokens(mut self, max_tokens: u32) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 688 |     pub fn with_top_p(mut self, top_p: f32) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 693 |     pub fn with_stop(mut self, stop: Vec<String>) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `json_format` is never read
[INFO] [stderr]   --> src/logger.rs:44:9
[INFO] [stderr]    |
[INFO] [stderr] 34 | pub struct LogConfig {
[INFO] [stderr]    |            --------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 44 |     pub json_format: bool,
[INFO] [stderr]    |         ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `LogConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: function `init_prod_logger` is never used
[INFO] [stderr]    --> src/logger.rs:131:8
[INFO] [stderr]     |
[INFO] [stderr] 131 | pub fn init_prod_logger() -> Result<()> {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `project_rust_learn` (bin "project_rust_learn") generated 155 warnings (2 duplicates) (run `cargo fix --bin "project_rust_learn" -p project_rust_learn` to apply 11 suggestions)
[INFO] [stderr] warning: `project_rust_learn` (lib test) generated 7 warnings (7 duplicates)
[INFO] [stderr] warning: unused imports: `get_decrypted_api_key_from_cache`, `get_provider_key_pool_from_cache`, and `preload_provider_key_pools_to_cache`
[INFO] [stderr]  --> tests/provider_key_pool_tests.rs:6:38
[INFO] [stderr]   |
[INFO] [stderr] 6 |     toggle_provider_key_pool_active, preload_provider_key_pools_to_cache,
[INFO] [stderr]   |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 7 |     get_provider_key_pool_from_cache, get_decrypted_api_key_from_cache
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `process_api_key`
[INFO] [stderr]  --> tests/provider_key_pool_tests.rs:9:58
[INFO] [stderr]   |
[INFO] [stderr] 9 | use project_rust_learn::dao::provider_key_pool::crypto::{process_api_key};
[INFO] [stderr]   |                                                          ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `project_rust_learn` (test "provider_key_pool_tests") generated 2 warnings (run `cargo fix --test "provider_key_pool_tests" -p project_rust_learn` to apply 2 suggestions)
[INFO] [stderr] warning: associated items `assistant`, `tool`, `with_images`, `with_thinking`, and `with_tool_calls` are never used
[INFO] [stderr]    --> src/llm_api/utils/msg_structure.rs:81:12
[INFO] [stderr]     |
[INFO] [stderr]  55 | impl Message {
[INFO] [stderr]     | ------------ associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  81 |     pub fn assistant(content: String) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  93 |     pub fn tool(content: String, tool_name: String) -> Self {
[INFO] [stderr]     |            ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 105 |     pub fn with_images(mut self, images: Vec<String>) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 111 |     pub fn with_thinking(mut self, thinking: String) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 117 |     pub fn with_tool_calls(mut self, tool_calls: Vec<ToolCall>) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple methods are never used
[INFO] [stderr]   --> src/llm_api/utils/chat_traits.rs:20:8
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub trait ChatRequestTrait {
[INFO] [stderr]    |           ---------------- methods in this trait
[INFO] [stderr] ...
[INFO] [stderr] 20 |     fn get_messages(&self) -> Vec<Message>;
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 23 |     fn set_messages(&mut self, messages: Vec<Message>);
[INFO] [stderr]    |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 26 |     fn add_message(&mut self, message: Message);
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 32 |     fn is_stream(&self) -> Option<bool> {
[INFO] [stderr]    |        ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 37 |     fn set_stream(&mut self, stream: bool);
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 45 |     fn set_options(&mut self, options: HashMap<String, Value>);
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 48 |     fn get_format(&self) -> Option<String> {
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 53 |     fn set_format(&mut self, format: String);
[INFO] [stderr]    |        ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: field `read_timeout` is never read
[INFO] [stderr]   --> src/llm_api/utils/client.rs:29:9
[INFO] [stderr]    |
[INFO] [stderr] 23 | pub struct TimeoutConfig {
[INFO] [stderr]    |            ------------- field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 29 |     pub read_timeout: Option<Duration>,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `TimeoutConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `max_attempts`, `base_delay`, `max_delay`, and `exponential_backoff` are never read
[INFO] [stderr]   --> src/llm_api/utils/client.rs:64:9
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub struct RetryConfig {
[INFO] [stderr]    |            ----------- fields in this struct
[INFO] [stderr] 63 |     /// 最大重试次数
[INFO] [stderr] 64 |     pub max_attempts: u32,
[INFO] [stderr]    |         ^^^^^^^^^^^^
[INFO] [stderr] 65 |     /// 基础延迟时间
[INFO] [stderr] 66 |     pub base_delay: Duration,
[INFO] [stderr]    |         ^^^^^^^^^^
[INFO] [stderr] 67 |     /// 最大延迟时间
[INFO] [stderr] 68 |     pub max_delay: Duration,
[INFO] [stderr]    |         ^^^^^^^^^
[INFO] [stderr] 69 |     /// 是否启用指数退避
[INFO] [stderr] 70 |     pub exponential_backoff: bool,
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `RetryConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: field `retry` is never read
[INFO] [stderr]    --> src/llm_api/utils/client.rs:108:9
[INFO] [stderr]     |
[INFO] [stderr] 104 | pub struct ClientConfig {
[INFO] [stderr]     |            ------------ field in this struct
[INFO] [stderr] ...
[INFO] [stderr] 108 |     pub retry: RetryConfig,
[INFO] [stderr]     |         ^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `ClientConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: methods `with_timeout`, `with_retry`, and `with_user_agent` are never used
[INFO] [stderr]    --> src/llm_api/utils/client.rs:131:12
[INFO] [stderr]     |
[INFO] [stderr] 126 | impl ClientConfig {
[INFO] [stderr]     | ----------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 131 |     pub fn with_timeout(mut self, timeout: TimeoutConfig) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 136 |     pub fn with_retry(mut self, retry: RetryConfig) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 146 |     pub fn with_user_agent(mut self, user_agent: String) -> Self {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: variants `Timeout`, `RetryExhausted`, `LLMApi`, and `Internal` are never constructed
[INFO] [stderr]    --> src/llm_api/utils/client.rs:158:5
[INFO] [stderr]     |
[INFO] [stderr] 156 | pub enum ClientError {
[INFO] [stderr]     |          ----------- variants in this enum
[INFO] [stderr] 157 |     /// 请求超时
[INFO] [stderr] 158 |     Timeout { duration: Duration },
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 162 |     RetryExhausted { attempts: u32, last_error: String },
[INFO] [stderr]     |     ^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 166 |     LLMApi { message: String, status_code: Option<u16> },
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 170 |     Internal { message: String },
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `ClientError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: multiple fields are never read
[INFO] [stderr]    --> src/llm_api/utils/client.rs:285:9
[INFO] [stderr]     |
[INFO] [stderr] 283 | pub struct ClientMetrics {
[INFO] [stderr]     |            ------------- fields in this struct
[INFO] [stderr] 284 |     /// 总请求数
[INFO] [stderr] 285 |     pub total_requests: u64,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^
[INFO] [stderr] 286 |     /// 成功请求数
[INFO] [stderr] 287 |     pub successful_requests: u64,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 288 |     /// 失败请求数
[INFO] [stderr] 289 |     pub failed_requests: u64,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^
[INFO] [stderr] 290 |     /// 重试次数
[INFO] [stderr] 291 |     pub retry_count: u64,
[INFO] [stderr]     |         ^^^^^^^^^^^
[INFO] [stderr] 292 |     /// 平均响应时间
[INFO] [stderr] 293 |     pub avg_response_time: Duration,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 294 |     /// 最长响应时间
[INFO] [stderr] 295 |     pub max_response_time: Duration,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr] 296 |     /// 最短响应时间
[INFO] [stderr] 297 |     pub min_response_time: Duration,
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `ClientMetrics` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: fields `client`, `config`, and `metrics` are never read
[INFO] [stderr]    --> src/llm_api/utils/client.rs:306:5
[INFO] [stderr]     |
[INFO] [stderr] 304 | pub struct BaseClient {
[INFO] [stderr]     |            ---------- fields in this struct
[INFO] [stderr] 305 |     /// HTTP 客户端
[INFO] [stderr] 306 |     client: HttpClient,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr] 307 |     /// 客户端配置
[INFO] [stderr] 308 |     config: ClientConfig,
[INFO] [stderr]     |     ^^^^^^
[INFO] [stderr] 309 |     /// 监控指标
[INFO] [stderr] 310 |     metrics: Arc<Mutex<ClientMetrics>>,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `BaseClient` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/llm_api/utils/client.rs:355:12
[INFO] [stderr]     |
[INFO] [stderr] 313 | impl BaseClient {
[INFO] [stderr]     | --------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 355 |     pub fn new_default() -> Result<Self, ClientError> {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 362 |     pub fn http_client(&self) -> &HttpClient {
[INFO] [stderr]     |            ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 367 |     pub fn config(&self) -> &ClientConfig {
[INFO] [stderr]     |            ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 372 |     pub fn metrics(&self) -> ClientMetrics {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 377 |     pub async fn post<T>(&self, url: &str, body: T) -> Result<Response, ClientError>
[INFO] [stderr]     |                  ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 515 |     pub async fn post_stream<T, F>(&self, url: &str, body: T, mut callback: F) -> Result<(), ClientError>
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 724 |     fn calculate_backoff_delay(&self, attempt: u32) -> Duration {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 739 |     fn should_retry(&self, error: &ClientError, _attempt: u32) -> bool {
[INFO] [stderr]     |        ^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 754 |     fn update_success_metrics(&self, response_time: Duration) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 780 |     fn update_failure_metrics(&self) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 788 |     fn log_request_start(&self, ctx: &RequestContext) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 799 |     fn log_retry_attempt(&self, ctx: &RequestContext, delay: Duration) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 813 |     fn log_request_success(&self, ctx: &RequestContext) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 825 |     fn log_request_failure(&self, ctx: &RequestContext, error: &ClientError) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 838 |     fn log_network_error(&self, ctx: &RequestContext, error: &reqwest::Error) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 859 |     fn log_timeout_error(&self, ctx: &RequestContext, timeout_duration: Duration) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 872 |     fn log_api_error(&self, ctx: &RequestContext, message: &str, status_code: Option<u16>) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 885 |     fn log_retry_exhausted(&self, ctx: &RequestContext, final_error: &str) {
[INFO] [stderr]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 898 |     async fn create_call_record(&self, ctx: &RequestContext, status_code: i64, error_message: Option<String>) {
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `semaphore` and `current_index` are never read
[INFO] [stderr]   --> src/llm_api/utils/client_pool.rs:17:5
[INFO] [stderr]    |
[INFO] [stderr] 15 | pub struct ClientPool<T> {
[INFO] [stderr]    |            ---------- fields in this struct
[INFO] [stderr] 16 |     clients: Vec<Arc<Mutex<T>>>,
[INFO] [stderr] 17 |     semaphore: Arc<Semaphore>,
[INFO] [stderr]    |     ^^^^^^^^^
[INFO] [stderr] 18 |     current_index: std::sync::atomic::AtomicUsize,
[INFO] [stderr]    |     ^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: method `acquire` is never used
[INFO] [stderr]   --> src/llm_api/utils/client_pool.rs:32:18
[INFO] [stderr]    |
[INFO] [stderr] 21 | impl<T> ClientPool<T> {
[INFO] [stderr]    | --------------------- method in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 32 |     pub async fn acquire(&self) -> ClientGuard<T> {
[INFO] [stderr]    |                  ^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `base_client` and `base_url` are never read
[INFO] [stderr]   --> src/llm_api/utils/client_pool.rs:63:5
[INFO] [stderr]    |
[INFO] [stderr] 62 | pub struct DynamicAliClient {
[INFO] [stderr]    |            ---------------- fields in this struct
[INFO] [stderr] 63 |     base_client: BaseClient,
[INFO] [stderr]    |     ^^^^^^^^^^^
[INFO] [stderr] 64 |     base_url: String,
[INFO] [stderr]    |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `chat_with_auto_key` and `chat_stream_with_auto_key` are never used
[INFO] [stderr]    --> src/llm_api/utils/client_pool.rs:81:18
[INFO] [stderr]     |
[INFO] [stderr]  67 | impl DynamicAliClient {
[INFO] [stderr]     | --------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  81 |     pub async fn chat_with_auto_key(&self, request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 128 |     pub async fn chat_stream_with_auto_key<F>(&self, request: AliChatRequest, callback: F) -> Result<(), AliError>
[INFO] [stderr]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: methods `with_stop` and `with_incremental_output` are never used
[INFO] [stderr]   --> src/llm_api/ali/client.rs:89:12
[INFO] [stderr]    |
[INFO] [stderr] 53 | impl AliChatRequest {
[INFO] [stderr]    | ------------------- methods in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 89 |     pub fn with_stop(mut self, stop: Vec<String>) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 95 |     pub fn with_incremental_output(mut self, incremental: bool) -> Self {
[INFO] [stderr]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: fields `base_client`, `api_key`, and `base_url` are never read
[INFO] [stderr]    --> src/llm_api/ali/client.rs:417:5
[INFO] [stderr]     |
[INFO] [stderr] 415 | pub struct AliClient {
[INFO] [stderr]     |            --------- fields in this struct
[INFO] [stderr] 416 |     /// 基础 HTTP 客户端
[INFO] [stderr] 417 |     base_client: BaseClient,
[INFO] [stderr]     |     ^^^^^^^^^^^
[INFO] [stderr] 418 |     /// API Key
[INFO] [stderr] 419 |     api_key: String,
[INFO] [stderr]     |     ^^^^^^^
[INFO] [stderr] 420 |     /// API 基础 URL
[INFO] [stderr] 421 |     base_url: String,
[INFO] [stderr]     |     ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> src/llm_api/ali/client.rs:429:12
[INFO] [stderr]     |
[INFO] [stderr] 424 | impl AliClient {
[INFO] [stderr]     | -------------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr] 429 |     pub fn new(api_key: String) -> Result<Self> {
[INFO] [stderr]     |            ^^^
[INFO] [stderr] ...
[INFO] [stderr] 434 |     pub fn new_with_base_url(api_key: String, base_url: String) -> Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 443 |     pub fn new_with_config(api_key: String, base_url: String, mut config: ClientConfig) -> Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 459 |     pub fn new_with_client(api_key: String, base_url: String, mut config: ClientConfig, client: Client) -> Result<Self> {
[INFO] [stderr]     |            ^^^^^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 475 |     pub async fn chat(&self, mut request: AliChatRequest) -> Result<AliChatResponse, AliError> {
[INFO] [stderr]     |                  ^^^^
[INFO] [stderr] ...
[INFO] [stderr] 508 |     pub async fn chat_stream<F>(&self, mut request: AliChatRequest, mut callback: F) -> Result<(), AliError>
[INFO] [stderr]     |                  ^^^^^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 554 |     pub fn api_key(&self) -> &str {
[INFO] [stderr]     |            ^^^^^^^
[INFO] [stderr] ...
[INFO] [stderr] 559 |     pub fn base_url(&self) -> &str {
[INFO] [stderr]     |            ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `project_rust_learn` (bin "project_rust_learn" test) generated 147 warnings (130 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.64s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/project_rust_learn-993d302097e80fdb)
[INFO] [stdout] test llm_api::utils::client_pool::tests::test_dynamic_ali_client_creation ... ok
[INFO] [stdout] test llm_api::utils::client_pool::tests::test_client_pool_creation ... ok
[INFO] [stdout] test dao::provider_key_pool::crypto::tests::test_decrypt_invalid_data ... ok
[INFO] [stdout] test llm_api::ali::client::tests::test_ali_chat_request_options ... FAILED
[INFO] [stdout] test logger::tests::test_logging ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- llm_api::ali::client::tests::test_ali_chat_request_options stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'llm_api::ali::client::tests::test_ali_chat_request_options' (23) panicked at src/llm_api/ali/client.rs:658:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: 0.699999988079071
[INFO] [stdout]  right: 0.7
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5992049fedea - std[f92b4c606f291077]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5992049fedea - std[f92b4c606f291077]::backtrace_rs::backtrace::trace_unsynchronized::<std[f92b4c606f291077]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5992049fedea - std[f92b4c606f291077]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5992049fedea - <<std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[786f478f706679df]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x599204a163da - <core[786f478f706679df]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x599204a163da - core[786f478f706679df]::fmt::write
[INFO] [stdout]    6:     0x599204a04342 - std[f92b4c606f291077]::io::default_write_fmt::<alloc[64763625b5a07cdb]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x599204a04342 - <alloc[64763625b5a07cdb]::vec::Vec<u8> as std[f92b4c606f291077]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5992049dbdbf - <std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5992049dbdbf - std[f92b4c606f291077]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5992049f69d9 - std[f92b4c606f291077]::panicking::default_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x59920459243c - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   12:     0x59920459243c - test[20e1f0ae6cad7a17]::test_main_with_exit_callback::<test[20e1f0ae6cad7a17]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5992049f6c52 - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   14:     0x5992049f6c52 - std[f92b4c606f291077]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5992049dbe78 - std[f92b4c606f291077]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5992049d3069 - std[f92b4c606f291077]::sys::backtrace::__rust_end_short_backtrace::<std[f92b4c606f291077]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5992049dce3d - __rustc[8241495c18a89d70]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x599204a16c4c - core[786f478f706679df]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x599204a16ad3 - core[786f478f706679df]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x599204551c82 - core[786f478f706679df]::panicking::assert_failed::<f64, f64>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x599204541b54 - project_rust_learn[7542f62bb2ab2732]::llm_api::ali::client::tests::test_ali_chat_request_options
[INFO] [stdout]                                at /opt/rustwide/workdir/src/llm_api/ali/client.rs:658:9
[INFO] [stdout]   22:     0x59920453d8e7 - project_rust_learn[7542f62bb2ab2732]::llm_api::ali::client::tests::test_ali_chat_request_options::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/llm_api/ali/client.rs:648:39
[INFO] [stdout]   23:     0x599204529a66 - <project_rust_learn[7542f62bb2ab2732]::llm_api::ali::client::tests::test_ali_chat_request_options::{closure#0} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x59920458651b - <fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x59920458651b - test[20e1f0ae6cad7a17]::__rust_begin_short_backtrace::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x599204592f0b - test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x599204592f0b - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x599204592f0b - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x599204592f0b - std[f92b4c606f291077]::panicking::catch_unwind::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x599204592f0b - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x599204592f0b - test[20e1f0ae6cad7a17]::run_test_in_process
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x599204592f0b - test[20e1f0ae6cad7a17]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x59920458e624 - test[20e1f0ae6cad7a17]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x59920458e624 - std[f92b4c606f291077]::sys::backtrace::__rust_begin_short_backtrace::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x599204595b12 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x599204595b12 - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x599204595b12 - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x599204595b12 - std[f92b4c606f291077]::panicking::catch_unwind::<(), core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x599204595b12 - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x599204595b12 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x599204595b12 - <std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5992049fe6bf - <alloc[64763625b5a07cdb]::boxed::Box<dyn core[786f478f706679df]::ops::function::FnOnce<(), Output = ()> + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2240:9
[INFO] [stdout]   43:     0x5992049fe6bf - <std[f92b4c606f291077]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x7c0ff8ca9aa4 - <unknown>
[INFO] [stdout]   45:     0x7c0ff8d36a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- logger::tests::test_logging stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'logger::tests::test_logging' (27) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-appender-0.2.3/src/rolling.rs:154:14:
[INFO] [stdout] initializing rolling file appender failed: InitError { context: "failed to create initial log file", source: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } }
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5992049fedea - std[f92b4c606f291077]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5992049fedea - std[f92b4c606f291077]::backtrace_rs::backtrace::trace_unsynchronized::<std[f92b4c606f291077]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5992049fedea - std[f92b4c606f291077]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5992049fedea - <<std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[786f478f706679df]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x599204a163da - <core[786f478f706679df]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x599204a163da - core[786f478f706679df]::fmt::write
[INFO] [stdout]    6:     0x599204a04342 - std[f92b4c606f291077]::io::default_write_fmt::<alloc[64763625b5a07cdb]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x599204a04342 - <alloc[64763625b5a07cdb]::vec::Vec<u8> as std[f92b4c606f291077]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5992049dbdbf - <std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5992049dbdbf - std[f92b4c606f291077]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5992049f69d9 - std[f92b4c606f291077]::panicking::default_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x59920459243c - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   12:     0x59920459243c - test[20e1f0ae6cad7a17]::test_main_with_exit_callback::<test[20e1f0ae6cad7a17]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5992049f6c52 - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   14:     0x5992049f6c52 - std[f92b4c606f291077]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5992049dbe78 - std[f92b4c606f291077]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5992049d3069 - std[f92b4c606f291077]::sys::backtrace::__rust_end_short_backtrace::<std[f92b4c606f291077]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5992049dce3d - __rustc[8241495c18a89d70]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x599204a16c4c - core[786f478f706679df]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x599204a16992 - core[786f478f706679df]::result::unwrap_failed
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/result.rs:1867:5
[INFO] [stdout]   20:     0x59920455e8dc - <core[786f478f706679df]::result::Result<tracing_appender[e834ccc382dfad8b]::rolling::RollingFileAppender, tracing_appender[e834ccc382dfad8b]::rolling::builder::InitError>>::expect
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/result.rs:1185:23
[INFO] [stdout]   21:     0x59920453325e - <tracing_appender[e834ccc382dfad8b]::rolling::RollingFileAppender>::new::<&alloc[64763625b5a07cdb]::string::String, &alloc[64763625b5a07cdb]::string::String>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-appender-0.2.3/src/rolling.rs:154:14
[INFO] [stdout]   22:     0x599204533a85 - tracing_appender[e834ccc382dfad8b]::rolling::daily::<&alloc[64763625b5a07cdb]::string::String, &alloc[64763625b5a07cdb]::string::String>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-appender-0.2.3/src/rolling.rs:370:5
[INFO] [stdout]   23:     0x59920452dcd3 - project_rust_learn[7542f62bb2ab2732]::logger::init_logger
[INFO] [stdout]                                at /opt/rustwide/workdir/src/logger.rs:70:20
[INFO] [stdout]   24:     0x59920452e69a - project_rust_learn[7542f62bb2ab2732]::logger::init_dev_logger
[INFO] [stdout]                                at /opt/rustwide/workdir/src/logger.rs:127:5
[INFO] [stdout]   25:     0x599204534915 - project_rust_learn[7542f62bb2ab2732]::logger::tests::test_logging::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/logger.rs:150:9
[INFO] [stdout]   26:     0x59920457c252 - <core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>> as core[786f478f706679df]::future::future::Future>::poll
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/future/future.rs:133:9
[INFO] [stdout]   27:     0x59920457c2cd - <core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>> as core[786f478f706679df]::future::future::Future>::poll
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/future/future.rs:133:9
[INFO] [stdout]   28:     0x599204554a3d - <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:70
[INFO] [stdout]   29:     0x59920455493b - tokio[ebe5f1c45f192d5d]::task::coop::with_budget::<core[786f478f706679df]::task::poll::Poll<()>, <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:167:5
[INFO] [stdout]   30:     0x59920455493b - tokio[ebe5f1c45f192d5d]::task::coop::budget::<core[786f478f706679df]::task::poll::Poll<()>, <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/task/coop/mod.rs:133:5
[INFO] [stdout]   31:     0x59920455493b - <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:742:25
[INFO] [stdout]   32:     0x59920454cab0 - <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::Context>::enter::<core[786f478f706679df]::task::poll::Poll<()>, <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:432:19
[INFO] [stdout]   33:     0x59920455398d - <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:741:44
[INFO] [stdout]   34:     0x599204552c84 - <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}, core[786f478f706679df]::option::Option<()>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:68
[INFO] [stdout]   35:     0x5992045682db - <tokio[ebe5f1c45f192d5d]::runtime::context::scoped::Scoped<tokio[ebe5f1c45f192d5d]::runtime::scheduler::Context>>::set::<<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}, core[786f478f706679df]::option::Option<()>>::{closure#0}, (alloc[64763625b5a07cdb]::boxed::Box<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::Core>, core[786f478f706679df]::option::Option<()>)>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/scoped.rs:40:9
[INFO] [stdout]   36:     0x599204579619 - tokio[ebe5f1c45f192d5d]::runtime::context::set_scheduler::<(alloc[64763625b5a07cdb]::boxed::Box<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::Core>, core[786f478f706679df]::option::Option<()>), <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}, core[786f478f706679df]::option::Option<()>>::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:38
[INFO] [stdout]   37:     0x599204548302 - <std[f92b4c606f291077]::thread::local::LocalKey<tokio[ebe5f1c45f192d5d]::runtime::context::Context>>::try_with::<tokio[ebe5f1c45f192d5d]::runtime::context::set_scheduler<(alloc[64763625b5a07cdb]::boxed::Box<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::Core>, core[786f478f706679df]::option::Option<()>), <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}, core[786f478f706679df]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[64763625b5a07cdb]::boxed::Box<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::Core>, core[786f478f706679df]::option::Option<()>)>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/local.rs:513:12
[INFO] [stdout]   38:     0x599204547e8e - <std[f92b4c606f291077]::thread::local::LocalKey<tokio[ebe5f1c45f192d5d]::runtime::context::Context>>::with::<tokio[ebe5f1c45f192d5d]::runtime::context::set_scheduler<(alloc[64763625b5a07cdb]::boxed::Box<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::Core>, core[786f478f706679df]::option::Option<()>), <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}, core[786f478f706679df]::option::Option<()>>::{closure#0}>::{closure#0}, (alloc[64763625b5a07cdb]::boxed::Box<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::Core>, core[786f478f706679df]::option::Option<()>)>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/local.rs:477:20
[INFO] [stdout]   39:     0x599204578fad - tokio[ebe5f1c45f192d5d]::runtime::context::set_scheduler::<(alloc[64763625b5a07cdb]::boxed::Box<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::Core>, core[786f478f706679df]::option::Option<()>), <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::enter<<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}, core[786f478f706679df]::option::Option<()>>::{closure#0}>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context.rs:176:17
[INFO] [stdout]   40:     0x599204550c60 - <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::enter::<<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::block_on<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>::{closure#0}, core[786f478f706679df]::option::Option<()>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:829:27
[INFO] [stdout]   41:     0x599204550f56 - <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CoreGuard>::block_on::<core[786f478f706679df]::pin::Pin<&mut core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:729:24
[INFO] [stdout]   42:     0x5992045523e0 - <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:200:33
[INFO] [stdout]   43:     0x59920454a483 - tokio[ebe5f1c45f192d5d]::runtime::context::runtime::enter_runtime::<<tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CurrentThread>::block_on<core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>::{closure#0}, ()>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/context/runtime.rs:65:16
[INFO] [stdout]   44:     0x59920454c5e1 - <tokio[ebe5f1c45f192d5d]::runtime::scheduler::current_thread::CurrentThread>::block_on::<core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/scheduler/current_thread/mod.rs:188:9
[INFO] [stdout]   45:     0x59920454c234 - <tokio[ebe5f1c45f192d5d]::runtime::runtime::Runtime>::block_on_inner::<core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:356:52
[INFO] [stdout]   46:     0x59920454c3ff - <tokio[ebe5f1c45f192d5d]::runtime::runtime::Runtime>::block_on::<core[786f478f706679df]::pin::Pin<&mut dyn core[786f478f706679df]::future::future::Future<Output = ()>>>
[INFO] [stdout]                                at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.1/src/runtime/runtime.rs:330:18
[INFO] [stdout]   47:     0x599204538b27 - project_rust_learn[7542f62bb2ab2732]::logger::tests::test_logging
[INFO] [stdout]                                at /opt/rustwide/workdir/src/logger.rs:163:10
[INFO] [stdout]   48:     0x5992045348a7 - project_rust_learn[7542f62bb2ab2732]::logger::tests::test_logging::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/src/logger.rs:149:28
[INFO] [stdout]   49:     0x5992045298a6 - <project_rust_learn[7542f62bb2ab2732]::logger::tests::test_logging::{closure#0} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   50:     0x59920458651b - <fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   51:     0x59920458651b - test[20e1f0ae6cad7a17]::__rust_begin_short_backtrace::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:663:18
[INFO] [stdout]   52:     0x599204592f0b - test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:74
[INFO] [stdout]   53:     0x599204592f0b - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   54:     0x599204592f0b - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   55:     0x599204592f0b - std[f92b4c606f291077]::panicking::catch_unwind::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   56:     0x599204592f0b - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   57:     0x599204592f0b - test[20e1f0ae6cad7a17]::run_test_in_process
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:27
[INFO] [stdout]   58:     0x599204592f0b - test[20e1f0ae6cad7a17]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:607:43
[INFO] [stdout]   59:     0x59920458e624 - test[20e1f0ae6cad7a17]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:637:41
[INFO] [stdout]   60:     0x59920458e624 - std[f92b4c606f291077]::sys::backtrace::__rust_begin_short_backtrace::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   61:     0x599204595b12 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   62:     0x599204595b12 - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   63:     0x599204595b12 - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   64:     0x599204595b12 - std[f92b4c606f291077]::panicking::catch_unwind::<(), core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   65:     0x599204595b12 - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   66:     0x599204595b12 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   67:     0x599204595b12 - <std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   68:     0x5992049fe6bf - <alloc[64763625b5a07cdb]::boxed::Box<dyn core[786f478f706679df]::ops::function::FnOnce<(), Output = ()> + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2240:9
[INFO] [stdout]   69:     0x5992049fe6bf - <std[f92b4c606f291077]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   70:     0x7c0ff8ca9aa4 - <unknown>
[INFO] [stdout]   71:     0x7c0ff8d36a64 - clone
[INFO] [stdout]   72:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     llm_api::ali::client::tests::test_ali_chat_request_options
[INFO] [stdout]     logger::tests::test_logging
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 10 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.69s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "f8d83be90929bc92dc6b0dca430ec28410c21e422f5938cebb329dffb0763e54", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8d83be90929bc92dc6b0dca430ec28410c21e422f5938cebb329dffb0763e54", kill_on_drop: false }`
[INFO] [stdout] f8d83be90929bc92dc6b0dca430ec28410c21e422f5938cebb329dffb0763e54
